[Issue 8227] Anonymous member variable of struct get's it's arguments shifted when called.
    via Digitalmars-d-bugs 
    digitalmars-d-bugs at puremagic.com
       
    Thu Jul 17 11:49:35 PDT 2014
    
    
  
https://issues.dlang.org/show_bug.cgi?id=8227
hsteoh at quickfur.ath.cx changed:
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |hsteoh at quickfur.ath.cx
--- Comment #1 from hsteoh at quickfur.ath.cx ---
Hmm. On git HEAD, this code now produces this message:
----
test.d(3): Deprecation: variable test.S.foo const field with initializer should
be static, __gshared, or an enum
----
Changing it to static, enum, or auto, doesn't exhibit the problem described.
--
    
    
More information about the Digitalmars-d-bugs
mailing list