On Saturday, 17 November 2018 at 13:55:24 UTC, aliak wrote:

You can use "debug blah" to hide inside functions that are attributed, but when you have an attributed function that calls a template, attribtues of which are supposed to be inferred, it seems to fail.

Maybe a bug if it's supposed to work?

Indeed that fails, and I would say that's a bug. If it's allowed in @nogc, it shouldn't then infer to non-@nogc when not explicitly attributed. Maybe debug blocks should outright be skipped when inferring?..

Reply via email to