Bug 11472 – REGRESSION(2.064): dmd segfaults on wrong code instead of giving error

Status
RESOLVED
Resolution
FIXED
Severity
regression
Priority
P2
Component
dmd
Product
D
Version
D2
Platform
All
OS
All
Creation time
2013-11-07T13:37:00Z
Last change time
2013-11-11T20:07:18Z
Keywords
ice, pull
Assigned to
nobody
Creator
thelastmammoth

Comments

Comment #0 by thelastmammoth — 2013-11-07T13:37:11Z
dmd: DMD64 D Compiler v2.064 dmd -c -o- main.d segmentation fault DMD64 D Compiler v2.063.2 main.d(8): Error: template has no effect in expression (fun1(alias fun = fun3)()) --- void fun3(){} void fun2(string a){} void fun1(alias fun=fun3)(){ "a".fun2!fun; } void main(){ fun1; } ---
Comment #1 by k.hara.pg — 2013-11-11T18:25:06Z
Comment #2 by github-bugzilla — 2013-11-11T20:05:45Z
Commits pushed to master at https://github.com/D-Programming-Language/dmd https://github.com/D-Programming-Language/dmd/commit/7044aa99e989f1dac3c574c5304a00d1ff8545eb fix Issue 11472 - dmd segfaults on wrong code instead of giving error https://github.com/D-Programming-Language/dmd/commit/0ce8fd1c32a8e6a5a5c953e4fa9ffad20350b838 Merge pull request #2744 from 9rnsr/fix11472 [REG2.064] Issue 11472 - dmd segfaults on wrong code instead of giving error
Comment #3 by github-bugzilla — 2013-11-11T20:06:37Z
Commit pushed to 2.064 at https://github.com/D-Programming-Language/dmd https://github.com/D-Programming-Language/dmd/commit/175af271168a5265eb5e68cd3dbd91cbb49284fb Merge pull request #2744 from 9rnsr/fix11472 [REG2.064] Issue 11472 - dmd segfaults on wrong code instead of giving error