Bug 74226

Summary: [1.5] enum type resolution problem (Eclipse 3.1M1)
Product: [Eclipse Project] JDT Reporter: Ayal Spitz <eclipse>
Component: CoreAssignee: JDT-Core-Inbox <jdt-core-inbox>
Status: RESOLVED DUPLICATE QA Contact:
Severity: major    
Priority: P3    
Version: 3.0   
Target Milestone: 3.1 M3   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description Ayal Spitz CLA 2004-09-17 20:30:48 EDT
The following code results in an error('Rank cannot be resolved to a type') on
'Rank' in the method call 'public void setRank(Rank rank){}'.

public class Foo{
    public enum Rank {FIRST,SECOND,THIRD}
    public void setRank(Rank rank){}
}
Comment 1 Kent Johnson CLA 2004-09-24 12:19:40 EDT

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