[dmd-internals] [D-Programming-Language/dmd] 8b27b2: Fix mixin("switch") and mixin("interface; ") segfau...
GitHub
noreply at github.com
Fri Aug 30 02:42:18 PDT 2013
Branch: refs/heads/master
Home: https://github.com/D-Programming-Language/dmd
Commit: 8b27b269bac1655b73932b8722aec3ab2172601d
https://github.com/D-Programming-Language/dmd/commit/8b27b269bac1655b73932b8722aec3ab2172601d
Author: H. S. Teoh <hsteoh at quickfur.ath.cx>
Date: 2013-08-29 (Thu, 29 Aug 2013)
Changed paths:
M src/attrib.c
M src/statement.c
A test/fail_compilation/ice8795.d
A test/fail_compilation/ice8795b.d
Log Message:
-----------
Fix mixin("switch") and mixin("interface;") segfault.
CompileStatement::flatten needs to check for errors before adding
statement to AST.
Similarly with CompileDeclaration::compileIt.
Commit: 2d0de85d28e1d953f7590ea6888bc6a12c25bd35
https://github.com/D-Programming-Language/dmd/commit/2d0de85d28e1d953f7590ea6888bc6a12c25bd35
Author: Hara Kenji <k.hara.pg+dev at gmail.com>
Date: 2013-08-30 (Fri, 30 Aug 2013)
Changed paths:
M src/attrib.c
M src/statement.c
A test/fail_compilation/ice8795.d
A test/fail_compilation/ice8795b.d
Log Message:
-----------
Merge pull request #2504 from quickfur/issue8795
Fix issue 8795: segfault on mixin("switch") and mixin("interface;")
Compare: https://github.com/D-Programming-Language/dmd/compare/5c994c85ece0...2d0de85d28e1
More information about the dmd-internals
mailing list