[Issue 1211] mixin("__LINE__") gives incorrect value

Stewart Gordon smjg_1998 at yahoo.com
Sun May 6 16:49:02 PDT 2007


"BCS" <BCS at pathlink.com> wrote in message 
news:f1j0hj$t6t$1 at digitalmars.com...
>> And how is 3 a plausible value in your example?
>
> 1 is the line of the mixin
> 3 is the line in the string
> 4 is the file line where __LINE__ is
<snip>

No it isn't.  It's in line 4 of the string, and line 5 of the file.

Stewart. 



More information about the Digitalmars-d-bugs mailing list