mys
mys copied to clipboard
Globals in default trait method does not work
Imported trait with default method using global variable does not work. Must change transpiler to generate default trait methods when generating containing module, not adding to class and generate in class context.
There are some ideas as a todo in tests/files/traits.mys.
Also, default trait methods may only use methods defined in the trait, and not class members and methods.