mirror of
https://github.com/GaloisInc/cryptol.git
synced 2024-11-14 11:16:33 +03:00
46bcc188f4
The renamer was being run on let bindings without including the NamingEnv of the overall module context. Fixed and added a test case for this.
9 lines
135 B
Plaintext
9 lines
135 B
Plaintext
:l issue006.cry
|
|
g 5
|
|
let f x = 0
|
|
g 5
|
|
(f : [32] -> [32]) 5
|
|
let f x = if (x : [32]) == 0 then 1 else x * (f (x - 1))
|
|
f 5
|
|
let h x = g x
|
|
h 5 |