Bug 1340 – ICE on invalid use of template member declared in a class

Status
RESOLVED
Resolution
DUPLICATE
Severity
normal
Priority
P2
Component
dmd
Product
D
Version
D1 (retired)
Platform
All
OS
All
Creation time
2007-07-13T11:39:00Z
Last change time
2014-02-16T15:23:51Z
Keywords
ice-on-invalid-code
Assigned to
bugzilla
Creator
dvdfrdmn

Comments

Comment #0 by dvdfrdmn — 2007-07-13T11:39:44Z
Sorry if this is a duplicate... ---- class foo { template temp( t ) { t boo( t a ) { return a; } } } void main() { auto a = foo.temp.boo(); } ----
Comment #1 by clugdbug — 2009-04-19T01:36:47Z
Although this was much older than issue 2203, the later one has discussion and a patch. *** This bug has been marked as a duplicate of 2203 ***