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 231974 - Expression marked as incorrect
Summary: Expression marked as incorrect
Status: VERIFIED FIXED
Alias: None
Product: web
Classification: Unclassified
Component: AngularJS (show other bugs)
Version: 7.4
Hardware: PC Linux
: P3 normal (vote)
Assignee: Petr Pisl
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-06-28 06:42 UTC by Vladimir Riha
Modified: 2013-07-16 08:20 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
sample file (347 bytes, text/html)
2013-06-28 06:42 UTC, Vladimir Riha
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Vladimir Riha 2013-06-28 06:42:43 UTC
Created attachment 136447 [details]
sample file

Please try the sample file, the whole line 1 is underlined with msg: Expected ) but found ;. Also if I remove everything but line 1, error is gone. If I remove line 1 only, error is again gone


Product Version: NetBeans IDE Dev (Build 201306272300)
Updates: Updates available
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 1 Marek Fukala 2013-06-28 08:23:05 UTC
Petre, please evaluate and let me know if you happen to parse the code with pipe (filter) somehow better that just creating JS embedding for the whole expression. I know we already agreed that such approach is fine, you may want to possibly reconsider the decision. It is up to you.
Comment 2 Petr Pisl 2013-07-15 16:00:01 UTC
Fixed in web-main:
http://hg.netbeans.org/web-main/rev/21500bb640c9
Comment 3 Quality Engineering 2013-07-16 02:37:38 UTC
Integrated into 'main-silver', will be available in build *201307152300* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/21500bb640c9
User: Petr Pisl <ppisl@netbeans.org>
Log: #231974 - Expression marked as incorrect
Comment 4 Vladimir Riha 2013-07-16 08:20:14 UTC
Thank you, verified


Product Version: NetBeans IDE Dev (Build 201307152300)
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-48-generic-pae running on i386; UTF-8; en_US (nb)