[Issue 8630] Assertion failure: 'fd && fd->inferRetType' on line 81 in file 'mangle.c'

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sat Sep 8 13:37:07 PDT 2012


http://d.puremagic.com/issues/show_bug.cgi?id=8630



--- Comment #6 from github-bugzilla at puremagic.com 2012-09-08 13:37:46 PDT ---
Commits pushed to master at https://github.com/D-Programming-Language/dmd

https://github.com/D-Programming-Language/dmd/commit/eb61951d58952b10e3e74a025f669a862ef05485
fix Issue 8630 - Assertion failure: 'fd && fd->inferRetType' on line 81 in file
'mangle.c'

If function type invalidation is detected in FuncDeclaration::semantic,
FuncDeclaration::semantic3 should not run.

When return type is an error, running function body semantic would print some
relevant errors, but they are fake errors. So we should stop meaningless
semantic3 IMO.

https://github.com/D-Programming-Language/dmd/commit/16a4543b7c87b594097e11db388956d1b838cceb
Merge pull request #1107 from 9rnsr/fix8630

Issue 8630 - Assertion failure: 'fd && fd->inferRetType' on line 81 in file
'mangle.c'

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list