Bug 883 – ICE: nested templates with integer arguments

Status
RESOLVED
Resolution
FIXED
Severity
normal
Priority
P2
Component
dmd
Product
D
Version
D1 (retired)
Platform
x86
OS
Windows
Creation time
2007-01-24T11:48:00Z
Last change time
2014-02-16T15:23:30Z
Assigned to
bugzilla
Creator
lio+bugzilla

Comments

Comment #0 by lio+bugzilla — 2007-01-24T11:48:39Z
// Not sure if this is valid code or not: struct Foo(int I) { void Bar(int A)( Foo!(A) x ) {} } void main() { Foo!(1) x,y; x.Bar(y);//needed for ICE } parse ice semantic ice import object semantic2 ice semantic3 ice *access violation at 0x009f9a91
Comment #1 by thomas-dloop — 2007-04-05T05:26:21Z
Added to DStress as http://dstress.kuehne.cn/run/t/template_57_A.d Seems to be fixed in DMD-1.010.