← Back to index
|
Original Bugzilla link
Bug 17582 – [REG2.059] Applying const to struct declaration should make the struct type const
Status
RESOLVED
Resolution
FIXED
Severity
regression
Priority
P1
Component
dmd
Product
D
Version
D2
Platform
All
OS
All
Creation time
2017-07-02T06:50:47Z
Last change time
2017-08-16T13:23:14Z
Assigned to
No Owner
Creator
Walter Bright
Comments
Comment #0
by bugzilla — 2017-07-02T06:50:47Z
The following should compile: const struct S { int x; } static assert(is(S == const(S)));
Comment #1
by bugzilla — 2017-07-02T07:04:31Z
Regression introduced by:
https://github.com/dlang/dmd/pull/783
Comment #2
by github-bugzilla — 2017-07-03T21:35:10Z
Commits pushed to master at
https://github.com/dlang/dmd
https://github.com/dlang/dmd/commit/07452c208c6164292c46bff3292586b659856376
fix Issue 17582 - Applying const to struct declaration should make the struct type const
https://github.com/dlang/dmd/commit/8e85f9fd1c1621df9b80b21162ec70ca210da789
Merge pull request #6958 from WalterBright/fix17582 fix Issue 17582 - Applying const to struct declaration should make th…
Comment #3
by github-bugzilla — 2017-08-07T13:17:11Z
Commits pushed to newCTFE at
https://github.com/dlang/dmd
https://github.com/dlang/dmd/commit/07452c208c6164292c46bff3292586b659856376
fix Issue 17582 - Applying const to struct declaration should make the struct type const
https://github.com/dlang/dmd/commit/8e85f9fd1c1621df9b80b21162ec70ca210da789
Merge pull request #6958 from WalterBright/fix17582
Comment #4
by github-bugzilla — 2017-08-16T13:23:14Z
Commits pushed to stable at
https://github.com/dlang/dmd
https://github.com/dlang/dmd/commit/07452c208c6164292c46bff3292586b659856376
fix Issue 17582 - Applying const to struct declaration should make the struct type const
https://github.com/dlang/dmd/commit/8e85f9fd1c1621df9b80b21162ec70ca210da789
Merge pull request #6958 from WalterBright/fix17582