mirror of
https://github.com/GaloisInc/cryptol.git
synced 2024-12-28 18:32:07 +03:00
Don't touch fake names
This commit is contained in:
parent
7faf665fd3
commit
b5d7cfed2b
@ -264,7 +264,9 @@ renameModule' mname m =
|
||||
module. This is used when the module is loaded at the command
|
||||
line and users want to evalute things in the context of the
|
||||
module -}
|
||||
fuEnv <- lookupDefines (thing f')
|
||||
fuEnv <- if isFakeName (thing f')
|
||||
then pure mempty
|
||||
else lookupDefines (thing f')
|
||||
let ren x = Map.findWithDefault x x imap
|
||||
|
||||
-- XXX: This is not quite right as it only considers the things
|
||||
|
Loading…
Reference in New Issue
Block a user