[Issue 20945] New: alias x = ref y compiles
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Wed Jun 17 23:03:02 UTC 2020
https://issues.dlang.org/show_bug.cgi?id=20945
Issue ID: 20945
Summary: alias x = ref y compiles
Product: D
Version: D2
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: P1
Component: dmd
Assignee: nobody at puremagic.com
Reporter: stanislav.blinov at gmail.com
alias refInt = ref int; // compiles
alias outInt = out int; // does not
Neither should.
--
More information about the Digitalmars-d-bugs
mailing list