https://issues.dlang.org/show_bug.cgi?id=20576
--- Comment #4 from Basile-z <[email protected]> --- other example: struct Foo { Foo opBinary(string op="-")(Foo f) { return Foo(); } } void main() { auto Foo = Foo() + Foo(); } --
d-bugmail--- via Digitalmars-d-bugs Thu, 20 Feb 2020 07:05:16 -0800
https://issues.dlang.org/show_bug.cgi?id=20576
--- Comment #4 from Basile-z <[email protected]> --- other example: struct Foo { Foo opBinary(string op="-")(Foo f) { return Foo(); } } void main() { auto Foo = Foo() + Foo(); } --