← Back to index
|
Original Bugzilla link
Bug 18020 – [Reg 2.078] no property opCmp for anon class
Status
RESOLVED
Resolution
FIXED
Severity
regression
Priority
P3
Component
dmd
Product
D
Version
D2
Platform
All
OS
All
Creation time
2017-11-29T17:39:01Z
Last change time
2017-12-18T22:58:03Z
Keywords
rejects-valid
Assigned to
No Owner
Creator
Martin Nowak
Comments
Comment #0
by code — 2017-11-29T17:39:01Z
cat > bug.d << CODE void bug(T)(T t) { t.opCmp(t); } alias bugi = bug!(typeof(new class{})); CODE dmd -c -o- bug.d ---- bug.d(3): Error: no property 'opCmp' for type 'bug.__anonclass1' bug.d(6): Error: template instance bug.bug!(__anonclass1) error instantiating ---- Introduced by
https://github.com/dlang/dmd/pull/7315.
Comment #1
by slavo5150 — 2017-11-30T03:42:28Z
Attempted fix submitted here:
https://github.com/dlang/dmd/pull/7378
Comment #2
by github-bugzilla — 2017-11-30T11:58:26Z
Commits pushed to master at
https://github.com/dlang/dmd
https://github.com/dlang/dmd/commit/da7e071e305989e85f9a7128ae0edda628e13148
Fix Issue 18020 - [Reg 2.078] no property opCmp for anon class
https://github.com/dlang/dmd/commit/39981da5cc0b7a3822578c1179bc3ae87957799a
Merge pull request #7378 from JinShil/fix_18020 Fix Issue 18020 - [Reg 2.078] no property opCmp for anon class merged-on-behalf-of: Mike Franklin <
[email protected]
>
Comment #3
by github-bugzilla — 2017-12-18T22:58:03Z
Commits pushed to stable at
https://github.com/dlang/dmd
https://github.com/dlang/dmd/commit/da7e071e305989e85f9a7128ae0edda628e13148
Fix Issue 18020 - [Reg 2.078] no property opCmp for anon class
https://github.com/dlang/dmd/commit/39981da5cc0b7a3822578c1179bc3ae87957799a
Merge pull request #7378 from JinShil/fix_18020