Bug 2345 – Return by reference should be allowed

Status
RESOLVED
Resolution
FIXED
Severity
normal
Priority
P2
Component
dmd
Product
D
Version
D2
Platform
x86
OS
Linux
Creation time
2008-09-07T14:26:00Z
Last change time
2015-06-09T01:31:18Z
Assigned to
bugzilla
Creator
andrei

Comments

Comment #0 by andrei — 2008-09-07T14:26:57Z
This is technically an enhancement but a showstopper in building ranges and algorithm2. ref int left(int[] r) { return r[0]; }
Comment #1 by bugzilla — 2008-10-20T22:21:52Z
Fixed dmd 2.020