Open default0 opened 9 years ago
Mixin Resolution Fails in this case:
mixin("int " ~ getStr(105) ~ ";"); static string getStr(int first) { return cast(char)(first) ~ "nteger"; }
Note however, that the very similar case (without a parameter) works fine:
mixin("int " ~ getStr() ~ ";"); static string getStr() { return cast(char)(105) ~ "nteger"; }
So the issue is the parameter not being tracked correctly.
Mixin Resolution Fails in this case:
Note however, that the very similar case (without a parameter) works fine:
So the issue is the parameter not being tracked correctly.