[Issue 19277] New: storage class used in alias statement has no effect

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sun Sep 30 18:50:21 UTC 2018


https://issues.dlang.org/show_bug.cgi?id=19277

          Issue ID: 19277
           Summary: storage class used in alias statement has no effect
           Product: D
           Version: D2
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P1
         Component: dmd
          Assignee: nobody at puremagic.com
          Reporter: turkeyman at gmail.com

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...

--


More information about the Digitalmars-d-bugs mailing list