Generic constraint with Rename that lists to Rename_pair elements crashes compiler
Posted May 21st, 2007 by alexk_es
in
Test procedure:
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
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.
- Login or register to post comments
- Add new test run report