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 262590 - Wrong coloring of default export
Summary: Wrong coloring of default export
Status: RESOLVED FIXED
Alias: None
Product: javascript
Classification: Unclassified
Component: Editor (show other bugs)
Version: 8.2
Hardware: PC Linux
: P3 normal (vote)
Assignee: Petr Pisl
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-06-27 15:19 UTC by Petr Pisl
Modified: 2016-06-29 01:47 UTC (History)
0 users

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 Petr Pisl 2016-06-27 15:19:23 UTC
Have a simple code

export default { 

  action() {
    test;
  }

};

Place caret on test identifier. Mark occurrences marks whole text between outer { and }
Comment 1 Petr Pisl 2016-06-27 17:04:38 UTC
Problem caused by duplicating the ObjectNode in AST (once in export node and once in an artificial var node).
Comment 2 Quality Engineering 2016-06-29 01:47:32 UTC
Integrated into 'main-silver', will be available in build *201606290002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/56953f9e0e68
User: Petr Pisl <ppisl@netbeans.org>
Log: #262590 - Wrong coloring of default export