You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[SPEC] Gazprea has three namespaces, not two? #146
Variable names are shadowed, so the global foo is not the same as the local foo. Then we have the function named foo and the type foo, so to me that reads as three. Thoughts and opinions? The other fun thing is then the inner struct scope can have additional foos as required, but that is less ambiguous because of scoping.
Recommended fix: Update namespaces.rst to clarify:
Type namespace: structs, typealiases (globally unique, so a typealias declared within a function that shadows an outer type alias would be a type error or a symbol error, not exactly sure which atm). This is possible since structs are declared with tagged members struct S(integer a, integer b) s = (a: 0, b: 1);
Activity
[-]Clarify: Gazprea has three namespaces, not two[/-][+][SPEC] Gazprea has three namespaces, not two?[/+]