← Back to index
|
Original Bugzilla link
Bug 12953 – Wrong alignment number in error messages
Status
RESOLVED
Resolution
FIXED
Severity
normal
Priority
P1
Component
dmd
Product
D
Version
D2
Platform
All
OS
All
Creation time
2014-06-20T04:07:00Z
Last change time
2014-06-20T05:22:00Z
Keywords
diagnostic, pull
Assigned to
nobody
Creator
k.hara.pg
Comments
Comment #0
by k.hara.pg — 2014-06-20T04:07:44Z
This code: align align void f1() {} align align(1) void f2() {} align(1) align void f2() {} Will print following errors: test.d(1): Error: redundant alignment attribute align(-1) test.d(2): Error: conflicting alignment attribute align(-1) and align(1) test.d(3): Error: conflicting alignment attribute align(1) and align(-1) align(-1) is wrong.
Comment #1
by k.hara.pg — 2014-06-20T04:14:12Z
https://github.com/D-Programming-Language/dmd/pull/3682
Comment #2
by github-bugzilla — 2014-06-20T05:21:59Z
Commits pushed to master at
https://github.com/D-Programming-Language/dmd
https://github.com/D-Programming-Language/dmd/commit/6ac993e1fe7f9c3c79218cde16260b73fabc1b27
fix Issue 12953 - Wrong alignment number in error messages
https://github.com/D-Programming-Language/dmd/commit/76eebd81f826ccc6b34595975f25d6ac4301ceda
Merge pull request #3682 from 9rnsr/fix12953 Issue 12953 - Wrong alignment number in error messages