Bug 156119 - No warning for unnecessary semicolon in interface
Summary: No warning for unnecessary semicolon in interface
Status: VERIFIED FIXED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 3.2   Edit
Hardware: PC Windows XP
: P3 minor (vote)
Target Milestone: 3.3 M2   Edit
Assignee: Olivier Thomann CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-09-04 12:01 EDT by Markus Keller CLA
Modified: 2006-09-18 10:21 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Markus Keller CLA 2006-09-04 12:01:47 EDT
I20060830-1650

interface Inter {
    int f= 1;; // no warning
}
class Klazz {
    int f= 1;; // warning: Unnecessary semicolon
}
Comment 1 Olivier Thomann CLA 2006-09-05 14:29:26 EDT
Clean up the code to share the same semantic action between the three rules:
empty type declaration, empty interface member declaration and empty class member declaration.
Added regression test org.eclipse.jdt.core.tests.compiler.parser.ParserTest#test022/023/024.
Comment 2 Frederic Fusier CLA 2006-09-17 12:23:50 EDT
Released for 3.3 M2
Comment 3 Maxime Daniel CLA 2006-09-18 10:21:20 EDT
Verified for 3.3 M2 using build I20060918-0010.