[Issue 4375] Require explicit braces when 'else' is ambiguous

d-bugmail at puremagic.com d-bugmail at puremagic.com
Mon Nov 8 04:07:25 PST 2010


http://d.puremagic.com/issues/show_bug.cgi?id=4375



--- Comment #16 from bearophile_hugs at eml.cc 2010-11-08 04:06:22 PST ---
(In reply to comment #14)

> You can get into all kinds of confusion by perversely indenting the source
> code, this particular one isn't special and so doesn't warrant special
> treatment.

This particular problem caused by indenting has even a name, "dangling else
problem". When a problem gains a name it means it's not something equal to
other things, it's different enough.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list