Bug 14130 – [REG2.067a] ICE following error in template parameter default value

Status
RESOLVED
Resolution
FIXED
Severity
regression
Priority
P1
Component
dmd
Product
D
Version
D2
Platform
All
OS
All
Creation time
2015-02-06T08:22:00Z
Last change time
2015-02-07T20:38:27Z
Keywords
ice, pull
Assigned to
nobody
Creator
yebblies

Comments

Comment #0 by yebblies — 2015-02-06T08:22:26Z
F sumKBN(Range, F = Unqual)(Range r, F s = 0.0) { } void main() { 0.sumKBN; } DMD v2.067 DEBUG testx.d(7): Error: undefined identifier Unqual assert template.c(2586) fd->type->ty == Tfunction
Comment #1 by k.hara.pg — 2015-02-06T13:26:35Z
Comment #2 by github-bugzilla — 2015-02-06T15:17:16Z
Commits pushed to master at https://github.com/D-Programming-Language/dmd https://github.com/D-Programming-Language/dmd/commit/5dd31fa1a3118e7cd522e6a3400957b31ecbed71 fix Issue 14130 - ICE following error in template parameter default value https://github.com/D-Programming-Language/dmd/commit/f51b7bb77de736bce051b1c1556b17e53e51b99f Merge pull request #4386 from 9rnsr/fix14130 [REG2.067a] Issue 14130 - ICE following error in template parameter default value
Comment #3 by github-bugzilla — 2015-02-07T20:38:27Z