Bug 11659 - ast: CompilationUnit::findDeclaringNode fails #2
Summary: ast: CompilationUnit::findDeclaringNode fails #2
Status: RESOLVED DUPLICATE of bug 11638
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 2.0   Edit
Hardware: PC Windows 2000
: P3 normal (vote)
Target Milestone: 2.0 M4   Edit
Assignee: Olivier Thomann CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-03-19 12:35 EST by Adam Kiezun CLA
Modified: 2002-03-20 14:30 EST (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 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 ***