Closed Havvy closed 8 years ago
@Havvy the implementation of structs is broken because it makes bad assumptions :( I'll try to fix it when I got some time :+1:
/cc @jwarlander
The proposed changes should make the struct name resolve to the proper module within the context of the caller :) For convenience (because I use the syntax myself sometimes when working within the module of the struct), I made sure it works as ~m{%__MODULE__ a}
as well.
E.g. this doesn't work.