3585 – Duplicate clauses in EqualExpression and RelExpression rules

D issues are now tracked on GitHub. This Bugzilla instance remains as a read-only archive.
Issue 3585 - Duplicate clauses in EqualExpression and RelExpression rules
Summary: Duplicate clauses in EqualExpression and RelExpression rules
Status: RESOLVED FIXED
Alias: None
Product: D
Classification: Unclassified
Component: dlang.org (show other issues)
Version: D2
Hardware: Other Linux
: P2 minor
Assignee: No Owner
URL:
Keywords: spec
Depends on:
Blocks:
Reported: 2009年12月07日 07:16 UTC by Jerry Quinn
Modified: 2015年06月09日 01:27 UTC (History)
2 users (show)

See Also:


Attachments
Add an attachment (proposed patch, testcase, etc.)

Note You need to log in before you can comment on or make changes to this issue.
Description Jerry Quinn 2009年12月07日 07:16:00 UTC
EqualExpression and IdentityExpression both contain the following clauses:
ShiftExpression is ShiftExpression
ShiftExpression !is ShiftExpression
Either IdentityExpression should be removed from the grammar or these 2 clauses should be removed from EqualExpression
---
EqualExpression and RelExpression both contain the following clause:
ShiftExpression
It should be removed from one or the other. My vote would be to remove it from RelExpression.
Comment 1 Leandro Lucarella 2009年12月14日 06:29:54 UTC
http://www.dsource.org/projects/phobos/changeset/1376 
Comment 2 Walter Bright 2009年12月31日 11:13:07 UTC
Fixed dmd 1.054 and 2.038


AltStyle によって変換されたページ (->オリジナル) /