Bug 11659

Summary: ast: CompilationUnit::findDeclaringNode fails #2
Product: [Eclipse Project] JDT Reporter: Adam Kiezun <akiezun>
Component: CoreAssignee: Olivier Thomann <Olivier_Thomann>
Status: RESOLVED DUPLICATE QA Contact:
Severity: normal    
Priority: P3    
Version: 2.0   
Target Milestone: 2.0 M4   
Hardware: PC   
OS: Windows 2000   
Whiteboard:

Description Adam Kiezun CLA 2002-03-19 12:35:47 EST
maybe related to bug 11638
package p;
class C{
	 void m(int i, int j){
	 	int u= i+j;
	 }	
}

i get null when calling findDeclaringNode  with binding that i got from 
calling resolveBinding on SimpleName(i) (from the InfixExpression)
Comment 1 Olivier Thomann CLA 2002-03-19 12:40:54 EST
Adam, I forgot to link the argument with its binding. Then all tests you might 
have of that sort will fail. It should be fixed in latest. However I will 
double-check that this is fixed as well.
Comment 2 Olivier Thomann CLA 2002-03-19 12:57:43 EST

*** This bug has been marked as a duplicate of 11638 ***