You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you use the “Add Require Prefix” option in a language without prefix-in, or even worse, without s-expression syntax at all, DrRacket will happily insert prefix-in anyway, producing code that doesn’t compile (or, depending on the language, might not even read properly).
The text was updated successfully, but these errors were encountered:
I’m not sure, though it’s probably not a pressing issue. The simplest hack would be to only enable it in #lang racket and #lang racket/base, but a better case would be to somehow figure out what host language supports this sort of refactoring, maybe via syntax properties or get-info. Maybe @dfeltey has some ideas?
If you use the “Add Require Prefix” option in a language without
prefix-in
, or even worse, without s-expression syntax at all, DrRacket will happily insertprefix-in
anyway, producing code that doesn’t compile (or, depending on the language, might not even read properly).The text was updated successfully, but these errors were encountered: