September 08, 2012 [dmd-internals] [D-Programming-Language/dmd] eb6195: fix Issue 8630 - Assertion failure: 'fd && fd->inf... | ||||
---|---|---|---|---|
| ||||
Attachments:
| Branch: refs/heads/master Home: https://github.com/D-Programming-Language/dmd Commit: eb61951d58952b10e3e74a025f669a862ef05485 https://github.com/D-Programming-Language/dmd/commit/eb61951d58952b10e3e74a025f669a862ef05485 Author: k-hara <k.hara.pg@gmail.com> Date: 2012-09-08 (Sat, 08 Sep 2012) Changed paths: M src/func.c Log Message: ----------- 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. Commit: 16a4543b7c87b594097e11db388956d1b838cceb https://github.com/D-Programming-Language/dmd/commit/16a4543b7c87b594097e11db388956d1b838cceb Author: Walter Bright <walter@walterbright.com> Date: 2012-09-08 (Sat, 08 Sep 2012) Changed paths: M src/func.c Log Message: ----------- Merge pull request #1107 from 9rnsr/fix8630 Issue 8630 - Assertion failure: 'fd && fd->inferRetType' on line 81 in file 'mangle.c' Compare: https://github.com/D-Programming-Language/dmd/compare/218f9e361854...16a4543b7c87 |
Copyright © 1999-2021 by the D Language Foundation