On Tuesday, 14 May 2019 at 14:36:21 UTC, Q. Schroll wrote:
[snip]
I've filed a bug report [1] some time ago. I'm posting here,
because I want to understand what's going on here.
I read through this post and while I don't know precisely what
the compiler is thinking, it seems for me that your reasoning
that this is a bug is correct.
I quess that either the compiler instantiates opApplyImpl with
something else than alias opApply specifies (it shouldn't) or
(more likely) template attribute inference malfunctions.