[Issue 4225] mangle.c:81: char* mangle(Declaration*): Assertion `fd && fd->inferRetType' failed.
https://issues.dlang.org/show_bug.cgi?id=4225 github-bugzi...@puremagic.com changed: What|Removed |Added Status|REOPENED|RESOLVED Resolution|--- |FIXED --
[Issue 4225] mangle.c:81: char* mangle(Declaration*): Assertion `fd && fd->inferRetType' failed.
https://issues.dlang.org/show_bug.cgi?id=4225 --- Comment #6 from github-bugzi...@puremagic.com --- Commit pushed to master at https://github.com/D-Programming-Language/dmd https://github.com/D-Programming-Language/dmd/commit/c43a17582bdfb7c28980803c05663a5d09526557 fix Issue 4225 - forward reference of opCall (mangle.c:81: char* mangle(Declaration*): Assertion `fd && fd->inferRetType' failed.) --
[Issue 4225] mangle.c:81: char* mangle(Declaration*): Assertion `fd && fd->inferRetType' failed.
https://issues.dlang.org/show_bug.cgi?id=4225 --- Comment #5 from hst...@quickfur.ath.cx --- P.S. This is on git HEAD (post 2.066). --
[Issue 4225] mangle.c:81: char* mangle(Declaration*): Assertion `fd && fd->inferRetType' failed.
https://issues.dlang.org/show_bug.cgi?id=4225 hst...@quickfur.ath.cx changed: What|Removed |Added CC||hst...@quickfur.ath.cx --- Comment #4 from hst...@quickfur.ath.cx --- Seems to work now (compiles and runs with -main), though it does hit a deprecation warning: - test.d(2): Deprecation: variable test.Foo.x const field with initializer should be static, __gshared, or an enum - --
[Issue 4225] mangle.c:81: char* mangle(Declaration*): Assertion `fd && fd->inferRetType' failed.
http://d.puremagic.com/issues/show_bug.cgi?id=4225 yebblies changed: What|Removed |Added Keywords|ice |rejects-valid CC||yebbl...@gmail.com Platform|Other |All Version|1.057 |D2 --- Comment #3 from yebblies 2012-02-04 18:59:17 EST --- Compiles without error on D1 (1.072) Give a forward reference error with D2 (2.058) struct Foo { enum x = Foo(); static Foo opCall() { return Foo.init; } } testx.d(5): Error: forward reference to type Foo testx.d(5): Error: cannot implicitly convert expression (Foo()) of type Foo to Foo -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 4225] mangle.c:81: char* mangle(Declaration*): Assertion `fd && fd->inferRetType' failed.
http://d.puremagic.com/issues/show_bug.cgi?id=4225 Walter Bright changed: What|Removed |Added CC||bugzi...@digitalmars.com --- Comment #2 from Walter Bright 2011-04-10 21:16:38 PDT --- A partial fix: https://github.com/D-Programming-Language/dmd/commit/1fc2fdb5fa9831eee2e1cae518ad350d517717c4 The error message is now: test.d(2): Error: cannot implicitly convert expression (opCall()) of type Foo to Foo -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 4225] mangle.c:81: char* mangle(Declaration*): Assertion `fd && fd->inferRetType' failed.
http://d.puremagic.com/issues/show_bug.cgi?id=4225 Brad Roberts changed: What|Removed |Added Status|RESOLVED|REOPENED CC||bra...@puremagic.com Resolution|WONTFIX | -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 4225] mangle.c:81: char* mangle(Declaration*): Assertion `fd && fd->inferRetType' failed.
http://d.puremagic.com/issues/show_bug.cgi?id=4225 nfx...@gmail.com changed: What|Removed |Added Status|NEW |RESOLVED Resolution||WONTFIX -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 4225] mangle.c:81: char* mangle(Declaration*): Assertion `fd && fd->inferRetType' failed.
http://d.puremagic.com/issues/show_bug.cgi?id=4225 Don changed: What|Removed |Added CC||clugd...@yahoo.com.au --- Comment #1 from Don 2010-05-23 22:10:51 PDT --- Probably related to bug 2080, since both involve type inference. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---