Bug 7956

Summary: No reference found to BlockScope.analysisIndex
Product: [Eclipse Project] JDT Reporter: Philipe Mulet <philippe_mulet>
Component: CoreAssignee: Jerome Lanneluc <jerome_lanneluc>
Status: RESOLVED WORKSFORME QA Contact:
Severity: normal    
Priority: P3    
Version: 2.0   
Target Milestone: 2.0 M2   
Hardware: PC   
OS: Windows 2000   
Whiteboard:

Description Philipe Mulet CLA 2002-01-21 13:49:04 EST
Build 20020115

In self-hosting mode, search for references to field BlockScope.analysisIndex
will not find any match.

Exact steps:
- open the BlockScope unit
- in outliner, find field 'analysisIndex'
- perform a search for references to this field in workspace

There should be at least one, in the same unit:

		binding.id = this.outerMostMethodScope().analysisIndex++;
Comment 1 Jerome Lanneluc CLA 2002-01-22 05:58:03 EST
MethodScope redefines analysisIndex, so the reference 'this.outerMostMethodScope
().analysisIndex++' is a reference to MethodScope.analysisIndex, not to 
BlockScope.analysisIndex.

Closing.