Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Something is wonky with CS's handling of #%terminal #5526

Copy link
Copy link

Description

@jesboat
Issue body actions

What version of Racket are you using?
CS, circa 9.2-ish (ca15d6b)

What program did you run?
(require '#%terminal '#%flfxnum)
(variable-reference->resolved-module-path (#%variable-reference fx+))
(variable-reference->resolved-module-path (#%variable-reference terminal-pause))

What should have happened?
What I expected, which is what BC gives, is

#<resolved-module-path:'#%flfxnum>
#<resolved-module-path:'#%terminal>

Instead, CS gives

#<resolved-module-path:'#%flfxnum>
#f

Please include any other relevant details
I stumbled across this when reading code. The list of primitive tables here

;; For interpretation of the outer shell of a linklet:
(install-linklet-primitive-tables! (cons '|#%kernel| kernel-table)
(cons '|#%unsafe| unsafe-table)
(cons '|#%flfxnum| flfxnum-table)
(cons '|#%paramz| paramz-table)
(cons '|#%extfl| extfl-table)
(cons '|#%network| network-table)
(cons '|#%futures| futures-table)
(cons '|#%place| place-table)
(cons '|#%foreign| foreign-table)
(cons '|#%linklet| linklet-table)
(cons 'internal internal-table)
(cons 'schemify schemify-table))
is missing #%terminal, and, based on some reading, I thought that it would cause variable-reference->instance on variable-references to #%terminal primitives to be "not found" or #%kernel as a fallback, causing the same to propagate to higher-level variable-reference->foo functions. However, adding #%terminal to that list doesn't fix the problem, so now I have no idea what's going on.

Reactions are currently unavailable

Metadata

Metadata

Assignees

No one assigned

    Labels

    racket-csSpecific to Racket-on-ChezSpecific to Racket-on-Chez

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

    Morty Proxy This is a proxified and sanitized view of the page, visit original site.