Bug 537 – ICE from unnamed tuple parameter

Status
RESOLVED
Resolution
WORKSFORME
Severity
minor
Priority
P2
Component
dmd
Product
D
Version
D1 (retired)
Platform
All
OS
All
Creation time
2006-11-16T19:30:00Z
Last change time
2014-02-15T13:21:47Z
Keywords
ice-on-invalid-code
Assigned to
bugzilla
Creator
wbaxter

Comments

Comment #0 by wbaxter — 2006-11-16T19:30:00Z
Forgetting to name a Tuple parameter causes a compiler crash with: "Assertion failure: 'arg->ident' on line 700 in file 'func.c'" -------------------- template Tuple(T...) { alias T Tuple; } alias Tuple!(int,int) TType; void bar(TType) { }
Comment #1 by bugzilla — 2007-10-03T00:24:07Z
Works with dmd 1.021 and 2.004