October 03, 2010 [Issue 4981] New: Assertion failure: 'precedence[e->op] != PREC_zero' on line 816 in file 'expression.c' | ||||
---|---|---|---|---|
| ||||
http://d.puremagic.com/issues/show_bug.cgi?id=4981 Summary: Assertion failure: 'precedence[e->op] != PREC_zero' on line 816 in file 'expression.c' Product: D Version: D2 Platform: Other OS/Version: Windows Status: NEW Severity: normal Priority: P2 Component: DMD AssignedTo: nobody@puremagic.com ReportedBy: 2korden@gmail.com --- Comment #0 from Koroskin Denis <2korden@gmail.com> 2010-10-02 21:26:47 PDT --- shared class A { void funcProto() { } void func(shared(FuncType) func) { } } alias typeof(&A.init.funcProto) FuncType; shared class B : A { void foo() { B* b; shared(FuncType) o = b.func = &b.bar; //auto o = b.func = &b.bar; } void bar() { } } Assertion failure: 'precedence[e->op] != PREC_zero' on line 816 in file 'expression.c' abnormal program termination Replacing "shared(FuncType) o" with "auto o" (line 20) adds additional error message: test.d(20): Error: variable test.B.foo.o voids have no value -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
October 07, 2010 [Issue 4981] Assertion failure: 'precedence[e->op] != PREC_zero' on line 816 in file 'expression.c' | ||||
---|---|---|---|---|
| ||||
Posted in reply to Koroskin Denis | http://d.puremagic.com/issues/show_bug.cgi?id=4981 Don <clugdbug@yahoo.com.au> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |clugdbug@yahoo.com.au Resolution| |DUPLICATE --- Comment #1 from Don <clugdbug@yahoo.com.au> 2010-10-07 07:25:11 PDT --- The ICE is a duplicate of bug 4926. You're also seeing a poor error message: I've created bug 5010 for that. *** This issue has been marked as a duplicate of issue 4926 *** -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
Copyright © 1999-2021 by the D Language Foundation