JSAbrahams / mamba

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

No check done if parent of class exists #434

Open JSAbrahams opened 1 year ago

JSAbrahams commented 1 year ago

Description of Bug

No check done to see if parent of a class actually exists.

How to Reproduce

class MyTuple: (Int, Int, UndefinedClass)

Expected behavior

As long as UndefinedClass is non-existent, should give an error that it doesn't exist.

Additional context

Need to check if this happens in other situations, or if this is limited to tuples.