http://d.puremagic.com/issues/show_bug.cgi?id=8484
Summary: [CTFE] Assertion failure: 'thisval && thisval->op == TOKclassreference' on line 4896 in file 'interpret.c'. Product: D Version: unspecified Platform: x86 OS/Version: Windows Status: NEW Severity: normal Priority: P2 Component: DMD AssignedTo: nob...@puremagic.com ReportedBy: sweatygar...@yahoo.co.jp --- Comment #0 from sweatygar...@yahoo.co.jp 2012-07-31 05:12:41 PDT --- class C { bool b() {return true;} } struct S { C c; } bool t( ref C c ){ return c.b; } bool test() { auto s = S(new C); return t(s.c); } static assert(test()); --- causes "Assertion failure: 'thisval && thisval->op == TOKclassreference' on line 4896 in file 'interpret.c'" on dmd 2.059 this is similar to the issue 7158 http://d.puremagic.com/issues/show_bug.cgi?id=7158 and the issue 4257 http://d.puremagic.com/issues/show_bug.cgi?id=4257 -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------