PR# 12775 Generic constraint with Rename that lists to Rename_pair elements crashes compiler

Problem Report Summary
Submitter: prestoat2000
Category: Compiler
Priority: Medium
Date: 2007/05/18
Class: Bug
Severity: Serious
Number: 12775
Release: 6.0.68434
Confidential: No
Status: Closed
Responsible: martins
Environment: Mozilla/5.0 (X11; U; SunOS i86pc; en-US; rv:1.8.1.3) Gecko/20070321 Firefox/2.0.0.3 Solaris 10 on x86
Synopsis: Generic constraint with Rename that lists to Rename_pair elements crashes compiler

Description
A formal generic constraint that has an "empty" rename, such as

    G -> STRING rename end

causes the compiler to crash.  According to my reading of ECMA-367
(section 8.6.14), this should actually be a syntax error since a Rename_list
consists of one or more Rename_pair, not zero or more.
To Reproduce
Compile with attached classes and .ecf.  Compiler crashes.
Problem Report Interactions
From:martins    Date:2007/06/06    Status: Closed    Download   
Bug is fixed in rev#68907.
A syntax error is reported for empty rename clauses in the context of a constraint renaming.
Thanks for reporting.

From:martins    Date:2007/05/23    Status: Analyzed    Download   
An eweasel test has been created for this bug: test#multicon042

From:prestoat2000    Date:2007/05/18    Download   
Attachments for problem report #12775

Attachment: test.ecf     Size:1036
Attachment: test.e     Size:81
Attachment: test1.e     Size:42