[Issue 853] New: Internal error: toir.c 182
    d-bugmail at puremagic.com 
    d-bugmail at puremagic.com
       
    Wed Jan 17 15:57:41 PST 2007
    
    
  
http://d.puremagic.com/issues/show_bug.cgi?id=853
           Summary: Internal error: toir.c 182
           Product: D
           Version: 1.00
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: bugzilla at digitalmars.com
        ReportedBy: lijat.me at gmail.com
The code below causes an internal error in dmd.
johan at Cyclop:~/Desktop/sylph$ cat test.d 
module test;
import st.stackcontext;
class Test{
        StackContext context;
        private void init(char[][] argvs){
                context=new StackContext({});
        }
        this(char[][] argvs){
                init(argvs);
        }
}
void main(char[][] args){
        new Test(args);
}
johan at Cyclop:~/Desktop/sylph$ dmd -inline test.d
Internal error: toir.c 182
johan at Cyclop:~/Desktop/sylph$
-- 
    
    
More information about the Digitalmars-d-bugs
mailing list