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

--- Comment #2 from Jack Stouffer <j...@jackstouffer.com> ---
(In reply to Vladimir Panteleev from comment #1)
> How can this code be valid?

According to the spec ;)

> You are declaring a templated function with no
> implementation. Templated functions cannot be virtual. I think this
> shouldn't even compile.

If non final template functions aren't possible, then the compiler must check
for this and the spec needs to be updated.

I would like to know why this isn't possible though.

--

Reply via email to