Bug 203421 - [search] OpenType not supporting case-insensitive prefix match
Summary: [search] OpenType not supporting case-insensitive prefix match
Status: VERIFIED INVALID
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 3.4   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 3.4 M2   Edit
Assignee: Frederic Fusier CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-09-14 05:43 EDT by Philipe Mulet CLA
Modified: 2007-09-18 05:09 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 Philipe Mulet CLA 2007-09-14 05:43:49 EDT
Build I20070911

When self-hosting, and attempting to find 'LabelStatement' (in compiler ast), I used the openType dialog, and typed:

1. "labels" --> not found
2. "Labels" --> not found
3. "LabelS" --> found

I would have expected (1) and (2) to be eligible, as case-insensitive prefix matches.
Comment 1 Frederic Fusier CLA 2007-09-18 04:46:58 EDT
The class is 'LabeledStatement' in compiler ast not 'LabelStatement'.
This explain why 'labels' and 'Labels' does not return this class.
If you enter 'labeleds' or 'Labeleds' then you get it.
Comment 2 Eric Jodet CLA 2007-09-18 05:00:20 EDT
Correct: class in compiler ast is LabeledStatement
Verified for 3.4 M2 using build I20070917-0010.