[Issue 1319] compiler crashes with functions that take const ref	arguments
    d-bugmail at puremagic.com 
    d-bugmail at puremagic.com
       
    Sun Oct 28 22:31:47 PDT 2007
    
    
  
http://d.puremagic.com/issues/show_bug.cgi?id=1319
------- Comment #5 from ddparnell at bigpond.com  2007-10-29 00:31 -------
I just tripped over this one today too. Here is my minimum test case...
 void Foo(const ref int A) {}
 void main()
 {
    Foo(1);
 }
And using 'invariant' instead of 'const' also crashes the compiler.
-- 
    
    
More information about the Digitalmars-d-bugs
mailing list