Issue 4336: Hole in trader constraint language (zz-trader) Source: Triodia Technologies Pty Ltd (Mr. Michi Henning, michi(at)triodia.com) Nature: Uncategorized Issue Severity: Summary: We have a hole in the trader constraint language: interface I1 { enum { red, green }; }; interface I2 { enum { green, red }; }; The expression $.field_name == red is ambiguous because it's not clear which red is meant. You could argue that the type of the field on the left will identify what type should apply for the enumerator on the right. However, that doesn't solve the problem because red == red is a valid expression. Attempts to solve the problem by using a scoped name don't work: $.field_name == I1::red That's because the grammar does not allow the use of the :: operator. Resolution: Revised Text: Actions taken: June 5, 2001: received issue Discussion: End of Annotations:===== Date: Tue, 5 Jun 2001 10:15:49 +1000 (EST) From: Michi Henning To: issues@omg.org Subject: Hole in trader constraint language Message-ID: Organization: IONA Technologies MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-UIDL: e