JSAbrahams / mamba

🐍 The Mamba programming language, because we care about safety
MIT License
88 stars 4 forks source link

Cannot have top-level tuples in scripts #161

Closed JSAbrahams closed 4 years ago

JSAbrahams commented 4 years ago

Description of Bug

The Type checker throws an error when trying to build a Context.

How to Reproduce

Create file where we assign to a tuple.

Expected behavior

Tuple's should be ignored by the Context, as these cannot be accessed by an outsider. These should only be visible in the Environment during the type inference stage.