Issue Details (XML | Word | Printable)

Key: GROOVY-1901
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

usage of multiple interfaces as bound for generic parameterization

Created: 17/May/07 07:56 AM   Updated: 01/Jul/07 01:34 PM
Component/s: None
Affects Version/s: None
Fix Version/s: 1.1-beta-2

Time Tracking:
Not Specified


 Description  « Hide
example:

class B<T extends Interface1 & Interface2> {
T foo(){}
}

resulting signature for class head: <T::LInterface1;:LInterface2;>Ljava/lang/Object;
resulting signature for method: ()LInterface1;

"left most bound" is used for all usages of T in B!

needed checks: ensure Interface1 != Interface2



 All   Comments   Work Log   Change History      Sort Order: Ascending order - Click to sort in descending order
Jochen Theodorou added a comment - 01/Jul/07 01:34 PM
done