Bug 13219 – segmentation fault in FuncDeclaration::getLevel

Status
RESOLVED
Resolution
FIXED
Severity
regression
Priority
P1
Component
dmd
Product
D
Version
D2
Platform
All
OS
All
Creation time
2014-07-28T00:56:00Z
Last change time
2014-08-22T08:05:04Z
Keywords
ice, pull
Assigned to
nobody
Creator
tim.dlang

Comments

Comment #0 by tim.dlang — 2014-07-28T00:56:19Z
The following code compiled with DMD 2.064.2, but results in a segmentation fault with DMD 2.065.0 and 2.066.0-b6: struct Map(V) { } void test(alias F,VA,VB)(Map!(VA), Map!(VB) ) if(is(VA:typeof(F(VA.init,VB.init))) ) { } void test2(alias F)() { test!((a,b)=>b)(Map!(int).init, Map!(int).init); } void main() { int x; test2!(x)(); }
Comment #1 by k.hara.pg — 2014-07-28T11:41:58Z
Comment #2 by github-bugzilla — 2014-07-29T01:11:12Z
Commits pushed to master at https://github.com/D-Programming-Language/dmd https://github.com/D-Programming-Language/dmd/commit/c9fc58458efb597798bc49389ea215717f5a7f7d fix Issue 13219 - segmentation fault in FuncDeclaration::getLevel https://github.com/D-Programming-Language/dmd/commit/9423fbf46ea78d11cbaca8de95bbedc860697ef4 Merge pull request #3820 from 9rnsr/fix13219 [REG2.065] Issue 13219 - segmentation fault in FuncDeclaration::getLevel
Comment #3 by github-bugzilla — 2014-07-31T02:35:18Z
Commit pushed to 2.066 at https://github.com/D-Programming-Language/dmd https://github.com/D-Programming-Language/dmd/commit/1d36e203ea6653ac9fcb7774adb0e46140fe22e4 Merge pull request #3820 from 9rnsr/fix13219 [REG2.065] Issue 13219 - segmentation fault in FuncDeclaration::getLevel
Comment #4 by github-bugzilla — 2014-08-22T08:05:04Z