Bug 21463 – std.typecons.Proxy declares opCmp when it should not

Status
NEW
Severity
enhancement
Priority
P4
Component
phobos
Product
D
Version
D2
Platform
x86_64
OS
Linux
Creation time
2020-12-08T18:54:45Z
Last change time
2024-12-01T16:38:11Z
Assigned to
No Owner
Creator
Tobias Pankrath
Moved to GitHub: phobos#10451 →

Comments

Comment #0 by tobias — 2020-12-08T18:54:45Z
-- import std.typecons : Proxy; struct Inner {} class Outer { Inner inner; mixin Proxy!inner; } int main() { return 0; } -- > /usr/include/dlang/dmd/std/typecons.d(6762): Error: need member function opCmp() for struct Inner to compare
Comment #1 by robert.schadek — 2024-12-01T16:38:11Z
THIS ISSUE HAS BEEN MOVED TO GITHUB https://github.com/dlang/phobos/issues/10451 DO NOT COMMENT HERE ANYMORE, NOBODY WILL SEE IT, THIS ISSUE HAS BEEN MOVED TO GITHUB