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 248661 - Variable with initializer is parsed as function
Summary: Variable with initializer is parsed as function
Status: VERIFIED FIXED
Alias: None
Product: cnd
Classification: Unclassified
Component: Code Model (show other bugs)
Version: 8.0
Hardware: PC Linux
: P3 normal (vote)
Assignee: petrk
URL:
Keywords:
Depends on:
Blocks: 248569
  Show dependency tree
 
Reported: 2014-11-14 19:54 UTC by petrk
Modified: 2015-12-23 08:51 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
project to demonstrate the problem (271 bytes, application/gzip)
2014-11-14 19:54 UTC, petrk
Details
Additional fix (3.97 KB, patch)
2015-11-11 12:16 UTC, petrk
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description petrk 2014-11-14 19:54:35 UTC
Created attachment 150501 [details]
project to demonstrate the problem
Comment 1 petrk 2014-11-14 20:10:07 UTC
Fixed in http://hg.netbeans.org/cnd-main/rev/c0d564d93a6f
Comment 2 Quality Engineering 2014-11-15 05:42:42 UTC
Integrated into 'main-silver', will be available in build *201411150001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/c0d564d93a6f
User: Petr Kudryavtsev <petrk@netbeans.org>
Log: Fixed #248661 - Variable with initializer is parsed as function
Comment 3 Quality Engineering 2014-11-16 04:35:34 UTC
Integrated into 'main-silver', will be available in build *201411160001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/71ad778eda28
User: Petr Kudryavtsev <petrk@netbeans.org>
Log: Additional fix for #248661 - Variable with initializer is parsed as function
-- handled situation when there are no expression resolver services
Comment 4 Alexander Simon 2015-10-27 16:42:35 UTC
Not fixed, see scenario from bug #256058
Comment 5 petrk 2015-11-11 12:16:09 UTC
Created attachment 157269 [details]
Additional fix
Comment 6 petrk 2015-11-18 11:51:07 UTC
Additional scenario fixed in attachement
Comment 7 Quality Engineering 2015-11-24 02:31:39 UTC
Integrated into 'main-silver', will be available in build *201511240002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/f525981839a4
User: Petr Kudryavtsev <petrk@netbeans.org>
Log: Additional fix for #248661 - Variable with initializer is parsed as function
(transplanted from 2e280aa2faf5633e323f87e163e16a263ff93faf)
Comment 8 MackSix 2015-12-01 17:46:26 UTC
verified fixed in:

Product Version: NetBeans IDE Dev (Build 201512010002)
Java: 1.8.0_66; Java HotSpot(TM) 64-Bit Server VM 25.66-b17
Runtime: Java(TM) SE Runtime Environment 1.8.0_66-b17
System: Windows 7 version 6.1 running on amd64; UTF-8; en_US (nb)
Comment 9 soldatov 2015-12-23 08:51:13 UTC
Verified in NetBeans 8.1 with latest internal patches