Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 338271 - TypeRules#canAssign(ITypeBinding, ITypeBinding) broken for generic types
Summary: TypeRules#canAssign(ITypeBinding, ITypeBinding) broken for generic types
Status: RESOLVED FIXED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 3.7   Edit
Hardware: PC Windows 7
: P3 normal (vote)
Target Milestone: 3.7 M6   Edit
Assignee: Markus Keller CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-02-25 15:13 EST by Markus Keller CLA
Modified: 2011-02-27 11:19 EST (History)
1 user (show)

See Also:


Attachments
Fix & Tests (12.97 KB, patch)
2011-02-25 15:13 EST, Markus Keller CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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.