https://issues.dlang.org/show_bug.cgi?id=14035
Ketmar Dark <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |[email protected] --- Comment #2 from Ketmar Dark <[email protected]> --- the same logic should allow this: string alice() (usize ln=__LINE__) { return "{ int t_"~ln~" = 42; }"; } pragma(msg, alice!()); yet somehow this is not working. but why? `ln` is known in compile time too! it's inconsistend and breaking type system. but ok, it's another arcane D knowledge, which can't be logically explained and can be only remembered. one more, one less... --
