[dmd-internals] [D-Programming-Language/dmd] ed0f8b: fix Issue 9790 - Internal error when compiling a i...
GitHub
noreply at github.com
Sat Mar 30 16:20:20 PDT 2013
Branch: refs/heads/master
Home: https://github.com/D-Programming-Language/dmd
Commit: ed0f8b803a8677bf099810d62f2cc85954d2cc3b
https://github.com/D-Programming-Language/dmd/commit/ed0f8b803a8677bf099810d62f2cc85954d2cc3b
Author: k-hara <k.hara.pg at gmail.com>
Date: 2013-03-26 (Tue, 26 Mar 2013)
Changed paths:
M src/cast.c
M src/declaration.c
M src/expression.h
M src/optimize.c
A test/fail_compilation/fail9790.d
Log Message:
-----------
fix Issue 9790 - Internal error when compiling a invalid variable in template
1. Remove gagging in VarDeclaration::semantic
2. Commit type in StructLiteralExp::castTo like as StringExp and NullExp
It's necessary to avoid std.traits unittest breaking.
Commit: 818fbf70501d7d6bc9cb8ed902f1b5b779f5bd10
https://github.com/D-Programming-Language/dmd/commit/818fbf70501d7d6bc9cb8ed902f1b5b779f5bd10
Author: k-hara <k.hara.pg at gmail.com>
Date: 2013-03-26 (Tue, 26 Mar 2013)
Changed paths:
M src/declaration.c
M src/expression.c
M src/init.c
M src/init.h
M src/mtype.c
M src/optimize.c
A test/compilable/test9818.d
Log Message:
-----------
fix Issue 9818 - Constant folding for static array does not work with initializing by element
Refactoring code for initializer semantic.
- Handle implicit constructor call in ExpInitializer::semantic
- Add target type parameter in Initializer::toExpression.
For `T[n] sa = e;`, its initializer translation to [e1, e2, ..., en] is delayed until it's really needed.
Commit: 8d482641c862de6285a6c20aab7127370912fa7a
https://github.com/D-Programming-Language/dmd/commit/8d482641c862de6285a6c20aab7127370912fa7a
Author: Walter Bright <walter at walterbright.com>
Date: 2013-03-30 (Sat, 30 Mar 2013)
Changed paths:
M src/cast.c
M src/declaration.c
M src/expression.c
M src/expression.h
M src/init.c
M src/init.h
M src/mtype.c
M src/optimize.c
A test/compilable/test9818.d
A test/fail_compilation/fail9790.d
Log Message:
-----------
Merge pull request #1801 from 9rnsr/fix9818
Issue 9818 - Constant folding for static array does not work with initializing by element
Compare: https://github.com/D-Programming-Language/dmd/compare/ccc7656fda0f...8d482641c862
More information about the dmd-internals
mailing list