https://issues.dlang.org/show_bug.cgi?id=12198
Lionello Lunesu <lio+bugzi...@lunesu.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |lio+bugzi...@lunesu.com Assignee|nob...@puremagic.com |lio+bugzi...@lunesu.com --- Comment #1 from Lionello Lunesu <lio+bugzi...@lunesu.com> --- I ran into this as well and also think the compiler should make a best effort to detect this at compile time, to minimize run-time surprises. I'm pretty far along with a patch, but am running into corner cases. Will push soon to get some feedback. --