Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

Context names live in a namespace of their own, and they have preference over other names #282

Closed
meijeru opened this Issue Oct 30, 2012 · 1 comment

Comments

Projects
None yet
2 participants

meijeru commented Oct 30, 2012

If is allowed to write

c: "HELLO"
c: context [b: 2]
b: 1
print c/b

This yields 2, not L, because when analyzing c/b, the compiler gives preference to the interpretation "qualified name from namespace c " over "indexed string variable"

Owner

dockimbel commented Oct 30, 2012

A check to prevent collision between context name and global variable seems to be missing.

dockimbel added a commit that referenced this issue Oct 30, 2012

@dockimbel dockimbel closed this Oct 30, 2012

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment