Closed Laeeth closed 5 years ago
--- test.dpp #include "test.hpp" --- test.hpp template<class T> struct Foo { template<class U> Foo& operator=(U& other) { return *this; } }; --- test.d.bad_extract.txt extern(C++) { struct Foo(T) { private: extern(D) ref Foo!(T) opAssign()(U)(ref U arg0) @nogc nothrow { return opCppAssign(arg0); } ref Foo!(T) opCppAssign(U)(ref U) @nogc nothrow; } }
The following line:
extern(D) ref Foo!(T) opAssign()(U)(ref U arg0) @nogc nothrow
should be:
extern(D) ref Foo!(T) opAssign(U)(ref U arg0) @nogc nothrow
The following line:
should be: