Bug 105183 - Class x "cannot be resolved to a type"
Summary: Class x "cannot be resolved to a type"
Status: RESOLVED DUPLICATE of bug 36032
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 3.1   Edit
Hardware: PC Windows XP
: P3 major (vote)
Target Milestone: ---   Edit
Assignee: Kent Johnson CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-07-26 12:43 EDT by Geert Poels CLA
Modified: 2005-07-27 10:58 EDT (History)
0 users

See Also:


Attachments
First java test class (377 bytes, text/plain)
2005-07-26 12:44 EDT, Geert Poels CLA
no flags Details
Second java source file (262 bytes, text/plain)
2005-07-26 12:44 EDT, Geert Poels CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Geert Poels CLA 2005-07-26 12:43:11 EDT
Create a mini-project with the two javafiles attachments.
Open the file GeertTest.java
Notice how it gives an error that "AndMe cannot be resolved to a type"
Now open GeertTestTwo.java
Go back to GeertTest
See the error disappear.
Close GeertTestTwo and the error re-appears.
Comment 1 Geert Poels CLA 2005-07-26 12:44:08 EDT
Created attachment 25307 [details]
First java test class
Comment 2 Geert Poels CLA 2005-07-26 12:44:25 EDT
Created attachment 25308 [details]
Second java source file
Comment 3 Olivier Thomann CLA 2005-07-26 19:54:52 EDT
This is a consequence of using secondary types within the same compilation unit.
Comment 4 Kent Johnson CLA 2005-07-27 10:58:54 EDT

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