Context names may still overlap with local variable names/formal args #291

meijeru opened this Issue Nov 1, 2012 · 1 comment

2 participants


In a previous issue (now closed) I noted that context names may overlap with variable names. The clash with global variables has been repaired, but they can still be the same as local names:

f: func[a [integer!]][a: context [b: 1]]

-= Red/System Compiler =-
Compiling tests/mytest.reds ...

...compilation time:     703 ms
...linking time:         953 ms
...output file size:     15360 bytes
Red Programming Language member

Good catch!

@dockimbel dockimbel closed this Nov 5, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment