Bug 3499 – Forward reference error with typeof() on a function

Status
RESOLVED
Resolution
FIXED
Severity
normal
Priority
P2
Component
dmd
Product
D
Version
D1 (retired)
Platform
Other
OS
Windows
Creation time
2009-11-12T02:04:00Z
Last change time
2014-04-18T09:12:08Z
Keywords
rejects-valid
Assigned to
nobody
Creator
bus_dbugzilla
Blocks
340

Comments

Comment #0 by bus_dbugzilla — 2009-11-12T02:04:50Z
--------------------- alias typeof(foo) T; void foo() {} --------------------- "Error: forward reference to foo"
Comment #1 by yebblies — 2011-06-12T15:34:52Z
This compiles without error on current dmd (1.068 & 2.053)