This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 210134 - Keyword named function not recognized
Summary: Keyword named function not recognized
Status: VERIFIED FIXED
Alias: None
Product: javascript
Classification: Unclassified
Component: Editor (show other bugs)
Version: 7.2
Hardware: PC Linux
: P3 normal (vote)
Assignee: Petr Hejl
URL:
Keywords:
: 180389 (view as bug list)
Depends on:
Blocks:
 
Reported: 2012-03-26 16:34 UTC by Vladimir Riha
Modified: 2013-07-31 12:43 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Vladimir Riha 2012-03-26 16:34:12 UTC
Sample code:

    var query = FacetRecord.find({ 
        type: typePrefix+thisType+"_Type"
    });
    query.where('slideid').in(arr);  

There is a function "in" but it is colored as a keyword (blue).

P.S.: It was marked in old editor as error but not in the new one


Product Version: NetBeans IDE Dev (Build 2012-03-26_07-07-31 )
Java: 1.7.0; Java HotSpot(TM) 64-Bit Server VM 21.0-b17
System: Linux version 2.6.38-13-generic running on amd64; UTF-8; en_US (nb)
Comment 1 Petr Pisl 2013-05-28 09:08:56 UTC
The same problem has all keywords.
Comment 2 Petr Hejl 2013-06-21 13:31:07 UTC
*** Bug 231163 has been marked as a duplicate of this bug. ***
Comment 3 Petr Hejl 2013-06-21 13:31:54 UTC
I'm investigating this one. There must be a problem in lexer grammar.
Comment 4 Petr Hejl 2013-06-24 13:29:22 UTC
Fixed in web-main f1e77af3ddea.
Comment 5 Quality Engineering 2013-06-26 02:33:08 UTC
Integrated into 'main-golden', will be available in build *201306252301* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/f1e77af3ddea
User: Petr Hejl <phejl@netbeans.org>
Log: #210134 - Keyword named function not recognized
Comment 6 Vladimir Riha 2013-06-26 06:23:58 UTC
Thank you, verified on sample from description and duplicated bug

Product Version: NetBeans IDE Dev (Build 201306252301)
Java: 1.7.0_25; Java HotSpot(TM) Client VM 23.25-b01
Runtime: Java(TM) SE Runtime Environment 1.7.0_25-b15
System: Linux version 3.2.0-45-generic-pae running on i386; UTF-8; en_US (nb)
Comment 7 Petr Hejl 2013-07-31 12:43:08 UTC
*** Bug 180389 has been marked as a duplicate of this bug. ***