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 224358 - Standard library objects are triggering "global variable undeclared" warning
Summary: Standard library objects are triggering "global variable undeclared" warning
Status: VERIFIED FIXED
Alias: None
Product: javascript
Classification: Unclassified
Component: Refactoring (show other bugs)
Version: 7.3
Hardware: PC Windows 7
: P2 normal (vote)
Assignee: Petr Pisl
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-01-01 22:40 UTC by c69
Modified: 2013-01-17 13:01 UTC (History)
1 user (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 c69 2013-01-01 22:40:47 UTC
When you use Object, Array or JSON in your code - you get "The global variable is not declared" warning.

As a side-effect, JSDoc comments which have Object or Array type annotations - are also underlined with yellow.
Comment 1 Petr Pisl 2013-01-02 12:56:13 UTC
Fixed in web-main: http://hg.netbeans.org/web-main/rev/0c7ba7b72ef5
Comment 2 Quality Engineering 2013-01-03 02:40:04 UTC
Integrated into 'main-golden', will be available in build *201301030001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/0c7ba7b72ef5
User: Petr Pisl <ppisl@netbeans.org>
Log: #224358 - Standard library objects are triggering "global variable undeclared" warning
Comment 3 Vladimir Riha 2013-01-17 13:01:44 UTC
verified

Product Version: NetBeans IDE 7.3 RC1 (Build 201301102100)
Java: 1.7.0_10; Java HotSpot(TM) Client VM 23.6-b04
Runtime: Java(TM) SE Runtime Environment 1.7.0_10-b18
System: Linux version 3.2.0-35-generic-pae running on i386; UTF-8; en_US (nb)