[Issue 17284] ref returning function template allows bypassing @safe on unions
via Digitalmars-d-bugs
digitalmars-d-bugs at puremagic.com
Wed Mar 29 12:57:19 PDT 2017
https://issues.dlang.org/show_bug.cgi?id=17284
--- Comment #3 from ZombineDev <petar.p.kirov at gmail.com> ---
So it seems that the bug has to do with the @safe-ty inference on template
functions, since the code does not compile if the function template is
explicitly marked with @safe.
--
More information about the Digitalmars-d-bugs
mailing list