mixin template bug with opBinary?

Paul Backus snarwin at gmail.com
Fri Jul 22 14:21:08 UTC 2022


On Friday, 22 July 2022 at 12:33:37 UTC, Anthony Quizon wrote:
> I get:
> ```
> foo.d(16): Error: mixin `foo.B.opBi!(B, ["+":function (B a, B 
> b) pure nothrow @nogc @safe => a])` does not match template 
> declaration `opBi(A, A function(A, A)[string] f0)`
> ```
>
> Is this a bug or am I doing something wrong?

Looks like this bug:

https://issues.dlang.org/show_bug.cgi?id=22540


More information about the Digitalmars-d-learn mailing list