[Issue 1870] Reproduce offending lines in error messages for string mixins
    via Digitalmars-d-bugs 
    digitalmars-d-bugs at puremagic.com
       
    Sun Apr 27 04:20:26 PDT 2014
    
    
  
https://issues.dlang.org/show_bug.cgi?id=1870
Andrej Mitrovic <andrej.mitrovich at gmail.com> changed:
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |andrej.mitrovich at gmail.com
--- Comment #3 from Andrej Mitrovic <andrej.mitrovich at gmail.com> ---
Something seems to be outputted nowadays:
-----
string get()
{
    return
"int x;
int y;
int z = x + b;";
}
void main()
{
    mixin(get());
}
-----
test.d-mixin-13(15): Error: undefined identifier b
The only problem is, where is "test.d-mixin-13"?
--
    
    
More information about the Digitalmars-d-bugs
mailing list