Bug 79091

Summary: [compiler] Should report invalid type only on the name
Product: [Eclipse Project] JDT Reporter: Olivier Thomann <Olivier_Thomann>
Component: CoreAssignee: Olivier Thomann <Olivier_Thomann>
Status: VERIFIED FIXED QA Contact:
Severity: normal    
Priority: P3    
Version: 3.1   
Target Milestone: 3.1 M4   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description Olivier Thomann CLA 2004-11-19 13:00:16 EST
Using latest,

class X { Zork[] foo; }

We report an error on Zork[] instead of Zork only.
Comment 1 Olivier Thomann CLA 2004-11-19 13:20:04 EST
The fix is in the ProblemReporter.invalidType(...). We also added a new field on
ArrayTypeReference to remember the original source end.
Fixed and released in HEAD.
Updated existing tests in ComplianceDiagnoseTest (test0005 and test0016).
Fixed and released in HEAD.
Comment 2 Jerome Lanneluc CLA 2004-12-14 10:11:43 EST
Verified (in I200412140010) that the error is on Zork only.