Bug 91221

Summary: Code assist stopped working
Product: [Eclipse Project] JDT Reporter: Dirk Baeumer <dirk_baeumer>
Component: CoreAssignee: Olivier Thomann <Olivier_Thomann>
Status: VERIFIED FIXED QA Contact:
Severity: major    
Priority: P3    
Version: 3.1   
Target Milestone: 3.1 M7   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Attachments:
Description Flags
The file none

Description Dirk Baeumer CLA 2005-04-12 17:56:24 EDT
I20050405-0800

Activating code assist at the location <code assist> in the attached file
doesn't provide any proposals.
Comment 1 Dirk Baeumer CLA 2005-04-12 17:56:56 EDT
Created attachment 19833 [details]
The file
Comment 2 Dirk Baeumer CLA 2005-04-12 17:58:32 EDT
Code assist doesn't work in any of the local classes anymore. Nothing in the log
file.
Comment 3 Dirk Baeumer CLA 2005-04-12 18:00:34 EDT
Works for types in field declarations of the inner classes, but not inside of
methods.
Comment 4 Dirk Baeumer CLA 2005-04-12 18:02:58 EDT
The problem is the following line in the file

private static final char MDASH= '\u2014';    // em dash

if commented out code assist works again.
Comment 5 Olivier Thomann CLA 2005-04-12 22:54:16 EDT
I believe this is a duplicate of bug 90414.

*** This bug has been marked as a duplicate of 90414 ***
Comment 6 Olivier Thomann CLA 2005-04-14 14:48:55 EDT
Reopen as this is not exactly a duplicate.
Comment 7 Olivier Thomann CLA 2005-04-14 14:57:31 EDT
The problem comes from the unicode management in the completion scanner. The
completion should work after the unicode, but not before the unicode.
Fixed and released in HEAD.
Added some regression tests inside DietCompletionTest.test34a/34b/34c.
Comment 8 Maxime Daniel CLA 2005-05-13 06:46:00 EDT
Verified for 3.1 M7 using build I20050512-2035 + jdt.core HEAD.