[Issue 10247] New: LastCatch grammar does not match implementation
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Sun Jun 2 16:03:34 PDT 2013
http://d.puremagic.com/issues/show_bug.cgi?id=10247
Summary: LastCatch grammar does not match implementation
Product: D
Version: unspecified
Platform: All
OS/Version: All
Status: NEW
Severity: normal
Priority: P2
Component: DMD
AssignedTo: nobody at puremagic.com
ReportedBy: brian-schott at cox.net
--- Comment #0 from brian-schott at cox.net 2013-06-02 16:03:33 PDT ---
Consider the following code:
try {
functionCall();
} catch (a + b).c();
This should match the LastCatch rule because (a + b).c() falls under the
category of NoScopeNonEmptyStatement, but dmd's parser only checks the opening
paren after the 'catch' token and tries going for the Catch rule.
--
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