[Issue 23983] Better error message when brace missing after `else`

d-bugmail at puremagic.com d-bugmail at puremagic.com
Mon Jun 12 01:58:16 UTC 2023


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

--- Comment #3 from ryuukk_ <ryuukk.dev at gmail.com> ---
I don't know what the right wording is called

In example 2, it complains at bunch of things, then at the end it says closing
braces at line 21; but the problem is actually at line 8

Now imagine if you have lot more code in between, have fun guessing where the
problem really is, reason why i opened this issue is because it just happened
to me, it's not fun

--


More information about the Digitalmars-d-bugs mailing list