digitalmars.D.bugs - [Issue 20945] New: alias x = ref y compiles
- d-bugmail puremagic.com (17/17) Jun 17 2020 https://issues.dlang.org/show_bug.cgi?id=20945
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 puremagic.com Reporter: stanislav.blinov gmail.com alias refInt = ref int; // compiles alias outInt = out int; // does not Neither should. --
Jun 17 2020