Bug 22048 – [REG2.095] `alias a = int p;` compiles
Status
RESOLVED
Resolution
FIXED
Severity
regression
Priority
P4
Component
dmd
Product
D
Version
D2
Platform
All
OS
All
Creation time
2021-06-20T00:18:47Z
Last change time
2021-06-27T12:25:27Z
Keywords
accepts-invalid, pull
Assigned to
No Owner
Creator
Vladimir Panteleev
Comments
Comment #0 by dlang-bugzilla — 2021-06-20T00:18:47Z
Noticed that this weird syntax is accepted when filing the previous issue:
alias a = int p;
Appears to be a regression, introduced in
https://github.com/dlang/dmd/pull/11832
Comment #1 by dlang-bot — 2021-06-24T13:17:38Z
@RazvanN7 created dlang/dmd pull request #12748 "Fix Issue 22048 - [REG2.095] alias a = int p; compiles" fixing this issue:
- Fix Issue 22048 - [REG2.095] alias a = int p; compiles
https://github.com/dlang/dmd/pull/12748
Comment #2 by dlang-bot — 2021-06-25T02:04:37Z
dlang/dmd pull request #12748 "Fix Issue 22048 - [REG2.095] alias a = int p; compiles" was merged into stable:
- 446de6208edef9f02ac5a050e84e565df89a2afd by RazvanN7:
Fix Issue 22048 - [REG2.095] alias a = int p; compiles
https://github.com/dlang/dmd/pull/12748
Comment #3 by dlang-bot — 2021-06-27T12:25:27Z
dlang/dmd pull request #12768 "Merge stable into master" was merged into master:
- bf97862edbf38f7971e7f5f7690d699217bc4c77 by RazvanN7:
Fix Issue 22048 - [REG2.095] alias a = int p; compiles
https://github.com/dlang/dmd/pull/12768