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

ag0aep6g <ag0ae...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |safe
                 CC|                            |ag0ae...@gmail.com
           Hardware|x86                         |All
            Summary|using labelled continue in  |using labelled continue in
                   |tuple foreach can break     |tuple foreach can break
                   |pure                        |pure and @safe
                 OS|Windows                     |All

--- Comment #1 from ag0aep6g <ag0ae...@gmail.com> ---
When returning a pointer, this also breaks @safe:

----
int* test(T...)() @safe pure {
    L:foreach(_; T) {
        continue L;
        return null;
    }
}
----

--

Reply via email to