Issue Details (XML | Word | Printable)

Key: GROOVY-1902
Type: Sub-task Sub-task
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: Jochen Theodorou
Reporter: Jochen Theodorou
Votes: 0
Watchers: 0
Operations

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

add check for usage of generics only with generics enabled classes and with the correct number of parameters

Created: 17/May/07 08:01 AM   Updated: 11/Oct/07 06:11 PM
Component/s: None
Affects Version/s: None
Fix Version/s: 1.1-rc-1

Time Tracking:
Not Specified

Issue Links:
dependent
 


 Description  « Hide
example:

class B<T> extends Map<T> {}

must not compile, because Map has two type parameters... unless we decide Groovy sets the other parameter automatically



 All   Comments   Work Log   Change History      Sort Order: Ascending order - Click to sort in descending order
Jochen Theodorou added a comment - 11/Oct/07 06:11 PM
implemented for java5 vms