Summary: | ASTVisitor.preVisit and ASTVisitor.postVisit not called correctly | ||
---|---|---|---|
Product: | [Eclipse Project] JDT | Reporter: | mark_dixon |
Component: | Core | Assignee: | Jim des Rivieres <jeem> |
Status: | RESOLVED FIXED | QA Contact: | |
Severity: | minor | ||
Priority: | P3 | ||
Version: | 2.0 | ||
Target Milestone: | 2.0 M6 | ||
Hardware: | PC | ||
OS: | All | ||
Whiteboard: |
Description
mark_dixon
2002-05-01 15:34:09 EDT
I agree that: Pre: class org.eclipse.jdt.core.dom.CompilationUnit Pre: class org.eclipse.jdt.core.dom.PackageDeclaration Pre: class org.eclipse.jdt.core.dom.SimpleName ?? Post: class org.eclipse.jdt.core.dom.SimpleName ?? Post: class org.eclipse.jdt.core.dom.PackageDeclaration Post: class org.eclipse.jdt.core.dom.CompilationUnit looks much more natural. It is indeed supposed to work that way you expected. The implementation was totally bogus, as you point out. Thanks muchly for reporting this. Made fix and added a test to check this. |