Issue Details (XML | Word | Printable)

Key: GROOVY-3596
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: Roshan Dawrani
Reporter: Peter Gromov
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
groovy

Generic Map reference fails to compile

Created: 29/Jun/09 03:27 AM   Updated: 15/Oct/09 05:16 PM   Resolved: 29/Jun/09 01:36 PM
Component/s: parser
Affects Version/s: 1.6.3
Fix Version/s: 1.6.4, 1.7-beta-1

Time Tracking:
Not Specified


 Description  « Hide

The following code fails to compile for me. I'm compiling from IDEA or
using a groovyc Ant task, with JDK 1.6. Fails for both Groovy 1.5.7
and 1.6.3.

interface TypeDescriptor {
}

interface MapDescriptor extends Map<String, TypeDescriptor> {
}

The error message is that Map reference has 2 parameters but the
referred class takes no parameters.



Roshan Dawrani added a comment - 29/Jun/09 01:36 PM

Fixed