View | Details | Raw Unified | Return to bug 178847 | Differences between
and this patch

Collapse All | Expand All

(-)search/org/eclipse/jdt/internal/core/search/matching/MatchLocator.java (+2 lines)
Lines 1537-1542 Link Here
1537
				if (BasicSearchEngine.VERBOSE)
1537
				if (BasicSearchEngine.VERBOSE)
1538
					System.out.println("Resolving " + this.currentPossibleMatch.openable.toStringWithAncestors()); //$NON-NLS-1$
1538
					System.out.println("Resolving " + this.currentPossibleMatch.openable.toStringWithAncestors()); //$NON-NLS-1$
1539
	
1539
	
1540
				this.lookupEnvironment.unitBeingCompleted = unit;
1540
				reduceParseTree(unit);
1541
				reduceParseTree(unit);
1541
	
1542
	
1542
				if (unit.scope != null) {
1543
				if (unit.scope != null) {
Lines 1559-1564 Link Here
1559
			throw e;
1560
			throw e;
1560
		}
1561
		}
1561
	} finally {
1562
	} finally {
1563
		this.lookupEnvironment.unitBeingCompleted = null;
1562
		this.currentPossibleMatch = null;
1564
		this.currentPossibleMatch = null;
1563
	}
1565
	}
1564
}
1566
}

Return to bug 178847