← Back to index
|
Original Bugzilla link
Bug 14913 – The return attribute cannot be on the left side of a function declaration
Status
NEW
Severity
normal
Priority
P3
Component
dmd
Product
D
Version
D2
Platform
All
OS
All
Creation time
2015-08-12T23:57:08Z
Last change time
2024-12-13T18:44:11Z
Assigned to
No Owner
Creator
Meta
Moved to GitHub: dmd#19027 →
Comments
Comment #0
by monkeyworks12 — 2015-08-12T23:57:08Z
struct Test { int n; //Error: declaration expected, not 'return' return ref int test() { return n; } }
Comment #1
by robert.schadek — 2024-12-13T18:44:11Z
THIS ISSUE HAS BEEN MOVED TO GITHUB
https://github.com/dlang/dmd/issues/19027
DO NOT COMMENT HERE ANYMORE, NOBODY WILL SEE IT, THIS ISSUE HAS BEEN MOVED TO GITHUB