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 267422 - Coloring is broken after if (i++ < 10)
Summary: Coloring is broken after if (i++ < 10)
Status: RESOLVED FIXED
Alias: None
Product: javascript
Classification: Unclassified
Component: Editor (show other bugs)
Version: 8.2
Hardware: PC Linux
: P2 normal (vote)
Assignee: Petr Pisl
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-08-03 13:06 UTC by Petr Pisl
Modified: 2016-08-04 02:03 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-08-03 13:06:11 UTC
If you have simple code:

var i = 2;
if (i++ < 10) console.log("i is < 10");
   else console.log("i is big");

then the keyword else is not colored.
Comment 1 Petr Pisl 2016-08-03 13:08:00 UTC
The coloring is broken at all.
Comment 2 Petr Pisl 2016-08-03 13:39:14 UTC
Fixed in web-main.
Comment 3 Quality Engineering 2016-08-04 02:03:49 UTC
Integrated into 'main-silver', will be available in build *201608040002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/1f109a306d77
User: Petr Pisl <ppisl@netbeans.org>
Log: #267422 - Coloring is broken after if (i++ < 10)