www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 22048] New: [REG2.095] `alias a = int p;` compiles


          Issue ID: 22048
           Summary: [REG2.095] `alias a = int p;` compiles
           Product: D
           Version: D2
          Hardware: All
                OS: All
            Status: NEW
          Keywords: accepts-invalid
          Severity: regression
          Priority: P4
         Component: dmd
          Assignee: nobody puremagic.com
          Reporter: dlang-bugzilla thecybershadow.net

Noticed that this weird syntax is accepted when filing the previous issue:

alias a = int p;

Appears to be a regression, introduced in

Jun 19 2021