[Issue 18605] Missing return not detected when labeled continue is used

d-bugmail at puremagic.com d-bugmail at puremagic.com
Tue May 9 14:56:21 UTC 2023


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

RazvanN <razvan.nitu1305 at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |razvan.nitu1305 at gmail.com
         Resolution|---                         |WORKSFORME

--- Comment #3 from RazvanN <razvan.nitu1305 at gmail.com> ---
I cannot reproduce neither of the examples. I get:

test.d(1): Error: function `test.test!(1, 2, 3).test` no `return exp;` or
`assert(0);` at end of function
test.d(11): Error: template instance `test.test!(1, 2, 3)` error instantiating


So this seems to have been fixed.

--


More information about the Digitalmars-d-bugs mailing list