Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix issue 8982 ICE(ctfeexpr.c) __parameters of an erroneous default p…
…arameter Don't create a tuple with an error in it; instead, return an ErrorExp. This is the same behaviour you get when creating a erroneous tuple by normal means. (The test case is wrapped in a speculative template so that the module compiles even though it contains an error).
- Loading branch information
1 parent
c9bdd19
commit d71cf04
Showing
2 changed files
with
21 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters