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

Automatic import of trait in match. #33

Closed eerimoq closed 3 years ago

eerimoq commented 3 years ago

What did you do?

https://github.com/mys-lang/mys/blob/main/tests/files/imports/mypkg/src/lib.mys#L25-L26

# ToDo: Should not be needed.
from .mod1 import Match2Base

What did you expect to see?

Import should not be needed.

What did you see instead?

Import needed.

Mys version

main