[Issue 22990] [dip1000] extended return semantics doesn't work on auto return
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Thu Sep 1 02:16:40 UTC 2022
https://issues.dlang.org/show_bug.cgi?id=22990
Walter Bright <bugzilla at digitalmars.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |bugzilla at digitalmars.com
--- Comment #1 from Walter Bright <bugzilla at digitalmars.com> ---
Your analysis is correct, it's the `if (!tf.nextOf()) return false;`.
Perhaps the function can set a flag if it doesn't see any `return` statements.
--
More information about the Digitalmars-d-bugs
mailing list