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 250372 - Undeclared global variable hint in JSDoc
Summary: Undeclared global variable hint in JSDoc
Status: VERIFIED FIXED
Alias: None
Product: javascript
Classification: Unclassified
Component: Documentation (show other bugs)
Version: 8.1
Hardware: PC Linux
: P3 normal (vote)
Assignee: Petr Pisl
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-02-11 14:11 UTC by Vladimir Riha
Modified: 2015-03-30 20:11 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 Vladimir Riha 2015-02-11 14:11:09 UTC
Please check following snippet:


/**
 * @typedef   MyObject.samplePropT
 * @type      {DefClass|Date}
 * @property  {String} vlastnost
 * @property  {String} [popis]
 * @property  {Human} [clovek]
 * @property  {Array|Number} pokus
 */



=> line with @typedef is marked with warning "The global variable MyObject is not declared"



Thank you


Product Version: NetBeans IDE Dev (Build web-main-1920-on-20150211)
Java: 1.7.0_67; Java HotSpot(TM) Client VM 24.65-b04
Runtime: Java(TM) SE Runtime Environment 1.7.0_67-b01
System: Linux version 3.13.0-35-generic running on i386; UTF-8; en_US (nb)
Comment 1 Petr Pisl 2015-03-25 21:03:56 UTC
Fixed in web-main.
Comment 2 Quality Engineering 2015-03-27 03:22:27 UTC
Integrated into 'main-silver', will be available in build *201503270001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/92c6151ed894
User: Petr Pisl <ppisl@netbeans.org>
Log: #250372 - Undeclared global variable hint in JSDoc
Comment 3 Vladimir Riha 2015-03-30 20:11:33 UTC
Verified, thank you



Product Version: NetBeans IDE Dev (Build 201503300001)
Java: 1.7.0_45; Java HotSpot(TM) 64-Bit Server VM 24.45-b08
Runtime: Java(TM) SE Runtime Environment 1.7.0_45-b18
System: Linux version 3.13.0-45-generic running on amd64; UTF-8; en_US (nb)