Bug 170954

Summary: void should not be proposed inside method
Product: [Eclipse Project] JDT Reporter: Dani Megert <daniel_megert>
Component: CoreAssignee: David Audel <david_audel>
Status: VERIFIED FIXED QA Contact:
Severity: normal    
Priority: P3    
Version: 3.3   
Target Milestone: 3.4 M1   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Attachments:
Description Flags
Proposed fix none

Description Dani Megert CLA 2007-01-18 13:08:45 EST
I20070116-1510

have:

void foo() {
  vo<code assist>
}
==> proposes 'void'
Comment 1 David Audel CLA 2007-06-28 08:26:30 EDT
Created attachment 72677 [details]
Proposed fix
Comment 2 David Audel CLA 2007-06-28 08:30:30 EDT
Released for 3.4M1.

Test added
  CompletionTests#testType8() -> testType14()
  CompletionTests_1_5#test0337()

void is proposed only when the completion is inside a type body.
Comment 3 Frederic Fusier CLA 2007-08-03 08:21:25 EDT
Verified for 3.4M1 using build I20070802-0800.