https://issues.dlang.org/show_bug.cgi?id=21449
--- Comment #1 from Basile-z <[email protected]> --- sorry, test case should be --- struct Foo { static opCall(T)(T t){} } void main() { Foo(0); //OK const(Foo)(0); //NG } --- --
d-bugmail--- via Digitalmars-d-bugs Thu, 03 Dec 2020 01:11:39 -0800
https://issues.dlang.org/show_bug.cgi?id=21449
--- Comment #1 from Basile-z <[email protected]> --- sorry, test case should be --- struct Foo { static opCall(T)(T t){} } void main() { Foo(0); //OK const(Foo)(0); //NG } --- --