Bug 19277 – storage class used in alias statement has no effect
Status
RESOLVED
Resolution
FIXED
Severity
enhancement
Priority
P1
Component
dmd
Product
D
Version
D2
Platform
All
OS
All
Creation time
2018-09-30T18:50:21Z
Last change time
2020-07-04T02:32:45Z
Keywords
pull
Assigned to
No Owner
Creator
Manu
Comments
Comment #0 by turkeyman — 2018-09-30T18:50:21Z
alias T = ref int;
void f(T not_a_ref_arg);
This is invalid, but it compiles and gives the user no indication that it's mal-formed...
Comment #1 by dlang-bot — 2020-07-02T14:25:07Z
@thewilsonator updated dlang/dmd pull request #10018 "Fix Issue 19277 - storage class used in alias statement has no effect" fixing this issue:
- Fix Issue 19277 - storage class used in alias statement has no effect
https://github.com/dlang/dmd/pull/10018
Comment #2 by dlang-bot — 2020-07-04T02:32:45Z
dlang/dmd pull request #10018 "Fix Issue 19277 - storage class used in alias statement has no effect" was merged into master:
- 629be0860a9c248ed120a23c2a984960c288a624 by Nicholas Lindsay Wilson:
Fix Issue 19277 - storage class used in alias statement has no effect
Co-authored-by: MoonlightSentinel <[email protected]>
https://github.com/dlang/dmd/pull/10018