The code below causes an internal error in dmd.
johan@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@Cyclop:~/Desktop/sylph$ dmd -inline test.d
Internal error: toir.c 182
johan@Cyclop:~/Desktop/sylph$
Comment #1 by thomas-dloop — 2007-02-23T16:35:28Z
I can't reproduce this issue because module st.stackcontext is missing.
Comment #2 by lijat.me — 2007-02-23T18:02:18Z
(In reply to comment #1)
> I can't reproduce this issue because module st.stackcontext is missing.
>
It's from the stacktreads library http://www.assertfalse.com/projects.shtml. Sorry should have said that.
Please remember to assign keywords to bug reports. To everybody reading this: Please look through issues you've reported and check for missing keywords.
Comment #5 by bugs-d — 2009-03-30T00:47:25Z
These tests all pass now on DMD 1.041 and 2.026.
-[Unknown]