Bug 96094 - null type binding of += assignment
Summary: null type binding of += assignment
Status: VERIFIED DUPLICATE of bug 95394
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 3.1   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Olivier Thomann CLA
QA Contact:
URL:
Whiteboard:
Keywords:
: 96093 (view as bug list)
Depends on:
Blocks:
 
Reported: 2005-05-20 09:49 EDT by Adam Kiezun CLA
Modified: 2005-05-27 08:03 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Adam Kiezun CLA 2005-05-20 09:49:01 EDT
3.1M7
public final class A{
     public A( /*[*/Object/*]*/ car) {
        int ret = 0;
        ret += 1;
    }
}

if you call resolveTypeBinding on the += assignment node, you get null. I
expected an int type binding
Comment 1 Adam Kiezun CLA 2005-05-20 09:50:42 EDT
*** Bug 96093 has been marked as a duplicate of this bug. ***
Comment 2 Olivier Thomann CLA 2005-05-20 10:20:42 EDT

*** This bug has been marked as a duplicate of 95394 ***
Comment 3 Frederic Fusier CLA 2005-05-27 08:03:48 EDT
Verified (using ASTView) for 3.1 RC1 with build I20050527-0010.