[Issue 16340] case where version(unittest) results in an invalid warning about a dangling else

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Sat Sep 10 03:05:06 PDT 2016


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

--- Comment #2 from github-bugzilla at puremagic.com ---
Commits pushed to master at https://github.com/dlang/dmd

https://github.com/dlang/dmd/commit/183114aca570878105cda76290f87340f925ccf6
Fix issue 16340 - Invalid dangling else warning triggered within template

Using `parseBlock` when parsing the template body is DRY-er and remove this
invalid warning.

https://github.com/dlang/dmd/commit/19479267a6bfac89d270ae13a5c8ae1daf09a5b4
Merge pull request #6118 from mathias-lang-sociomantic/fix-16340

Fix issue 16340 - Invalid dangling else warning triggered within template

--


More information about the Digitalmars-d-bugs mailing list