Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 338271

Summary: TypeRules#canAssign(ITypeBinding, ITypeBinding) broken for generic types
Product: [Eclipse Project] JDT Reporter: Markus Keller <markus.kell.r>
Component: UIAssignee: Markus Keller <markus.kell.r>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: deepakazad
Version: 3.7   
Target Milestone: 3.7 M6   
Hardware: PC   
OS: Windows 7   
Whiteboard:
Attachments:
Description Flags
Fix & Tests none

Description Markus Keller CLA 2011-02-25 15:13:12 EST
Created attachment 189845 [details]
Fix & Tests

HEAD

TypeRules#canAssign(ITypeBinding, ITypeBinding) is broken for generic types.

Replaced by existing TypeEnvironment (but I had to take out support for capture types since that would have broken cases like bug 337181).
Comment 1 Markus Keller CLA 2011-02-25 15:15:44 EST
Fixed in HEAD.