Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

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

Closed
meijeru opened this Issue · 1 comment

2 participants

@meijeru

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"

@dockimbel
Owner

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

@dockimbel dockimbel referenced this issue from a commit
@dockimbel dockimbel FIX: issue #282 (Context names live in a namespace of their own, and …
…they have preference over other names)
073ee1f
@dockimbel dockimbel closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.