Bug 170954 - void should not be proposed inside method
Summary: void should not be proposed inside method
Status: VERIFIED FIXED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 3.3   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 3.4 M1   Edit
Assignee: David Audel CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-01-18 13:08 EST by Dani Megert CLA
Modified: 2007-08-03 08:21 EDT (History)
0 users

See Also:


Attachments
Proposed fix (24.37 KB, patch)
2007-06-28 08:26 EDT, David Audel CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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.