← Back to index
|
Original Bugzilla link
Bug 7151 – [CTFE] cannot compare classes with ==
Status
RESOLVED
Resolution
FIXED
Severity
major
Priority
P2
Component
dmd
Product
D
Version
D2
Platform
Other
OS
Windows
Creation time
2011-12-22T00:37:00Z
Last change time
2015-06-17T21:03:57Z
Keywords
CTFE, pull
Assigned to
nobody
Creator
clugdbug
Depends on
7147
,
14123
Comments
Comment #0
by clugdbug — 2011-12-22T00:37:32Z
There are two reasons for this: (a) the function body of opEquals isn't present in object.di; (b) bug 7147.
Comment #1
by clugdbug — 2013-03-11T04:10:21Z
*** Issue 9671 has been marked as a duplicate of this issue. ***
Comment #2
by nilsbossung — 2014-07-30T17:03:57Z
https://github.com/D-Programming-Language/druntime/pull/916
Comment #3
by github-bugzilla — 2015-02-06T00:03:37Z
Commits pushed to master at
https://github.com/D-Programming-Language/druntime
https://github.com/D-Programming-Language/druntime/commit/8a3ea8160d940dc22916cbd3e18e5eb19ece8b28
mostly fix Issue 7151 - [CTFE] cannot compare classes with == Essentially, copy the implementation of opEquals into object.di. Comparison of TypeInfo objects still doesn't work. Seems to be a dmd issue.
https://github.com/D-Programming-Language/druntime/commit/8c13443c436a453e01c6319f74e2e6d54f44a547
Merge pull request #916 from NilsBossung/7151 mostly fix Issue 7151 - [CTFE] cannot compare classes with ==
Comment #4
by github-bugzilla — 2015-02-07T20:33:08Z
Commits pushed to
https://github.com/D-Programming-Language/druntime
https://github.com/D-Programming-Language/druntime/commit/8a3ea8160d940dc22916cbd3e18e5eb19ece8b28
mostly fix Issue 7151 - [CTFE] cannot compare classes with ==
https://github.com/D-Programming-Language/druntime/commit/8c13443c436a453e01c6319f74e2e6d54f44a547
Merge pull request #916 from NilsBossung/7151
Comment #5
by github-bugzilla — 2015-02-18T03:37:53Z
Commits pushed to 2.067 at
https://github.com/D-Programming-Language/druntime
https://github.com/D-Programming-Language/druntime/commit/8a3ea8160d940dc22916cbd3e18e5eb19ece8b28
mostly fix Issue 7151 - [CTFE] cannot compare classes with ==
https://github.com/D-Programming-Language/druntime/commit/8c13443c436a453e01c6319f74e2e6d54f44a547
Merge pull request #916 from NilsBossung/7151
Comment #6
by github-bugzilla — 2015-03-30T20:18:35Z
Commits pushed to master at
https://github.com/D-Programming-Language/dmd
https://github.com/D-Programming-Language/dmd/commit/fbfbb381b5843e7a9a05b6511f8a47955cdb1e3b
add test for Issue 7151 - [CTFE] cannot compare classes with ==
https://github.com/D-Programming-Language/dmd/commit/7627755d6da699893ee6087e28cf2728e1484fac
Merge pull request #3837 from NilsBossung/7151 add test for Issue 7151 - [CTFE] cannot compare classes with ==
Comment #7
by github-bugzilla — 2015-06-17T21:03:57Z
Commits pushed to stable at
https://github.com/D-Programming-Language/dmd
https://github.com/D-Programming-Language/dmd/commit/fbfbb381b5843e7a9a05b6511f8a47955cdb1e3b
add test for Issue 7151 - [CTFE] cannot compare classes with ==
https://github.com/D-Programming-Language/dmd/commit/7627755d6da699893ee6087e28cf2728e1484fac
Merge pull request #3837 from NilsBossung/7151