← Back to index
|
Original Bugzilla link
Bug 2623 – Function type drops ref spec
Status
RESOLVED
Resolution
FIXED
Severity
normal
Priority
P2
Component
dmd
Product
D
Version
D2
Platform
x86
OS
Linux
Creation time
2009-01-27T16:33:00Z
Last change time
2015-06-09T01:31:19Z
Assigned to
bugzilla
Creator
andrei
Comments
Comment #0
by andrei — 2009-01-27T16:33:19Z
The following code fails to compile by failing the static assert: alias int function() Fun; alias ref int function() Gun; static assert(!is(Fun == Gun)); The "ref" must be part of the function signature.
Comment #1
by bugzilla — 2009-03-11T14:58:00Z
Fixed dmd 2.026