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

--- Comment #4 from [email protected] ---
The -allinst/--allinst flag will resolve the link error, but that is a
counter-intuitive requirement as there is no explicit template in the program -
just one injected by the compiler. The fact that array equality is implemented
as a template is an implementation detail and shouldn’t require the user to
work around it.

It’s also weird that the cast somehow changes whether the template is emitted.

--

Reply via email to