Bug 1260 – Another tuple bug

Status
RESOLVED
Resolution
FIXED
Severity
blocker
Priority
P2
Component
dmd
Product
D
Version
D1 (retired)
Platform
x86
OS
Windows
Creation time
2007-06-07T00:58:00Z
Last change time
2014-02-16T15:23:19Z
Assigned to
bugzilla
Creator
samukha

Comments

Comment #0 by samukha — 2007-06-07T00:58:41Z
template Foo(T, Args...) { void bar(Args args, T t) { } } void main() { alias Foo!(int) aFoo; } Error: error: forward reference of T Compiles with one more type added to Foo's parameters: alias Foo!(int, int) aFoo; // ok
Comment #1 by onlystupidspamhere — 2007-06-26T14:15:16Z
Fixed in 1.017.