mys-lang / mys

The Mys programming language - an attempt to create a statically typed Python-like language that produces fast binaries. See https://mys-lang.org for more information.
Other
132 stars 5 forks source link

Trait in tuple does not work. #46

Closed eerimoq closed 3 years ago

eerimoq commented 3 years ago

What did you do?

Return a tuple (i64, None), where None is a trait. Cannot give node as a class that implements it.

What did you expect to see?

What did you see instead?

Mys version