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

--- Comment #5 from Simen Kjaeraas <[email protected]> ---
That was my point. Instead of resolving to a single instantiation of the
template, we could instantiate all possible ref/non-ref permutations and alias
bar to the resultant overload set. Of course, when I think a bit more about
that, the number of possible instantiations may well be too damn high.

The correct solution here is to issue a better error message.

--

Reply via email to