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 245740 - In strict mode, functions can only be declared at top-level or immediately withi
Summary: In strict mode, functions can only be declared at top-level or immediately withi
Status: RESOLVED FIXED
Alias: None
Product: javascript
Classification: Unclassified
Component: Editor (show other bugs)
Version: 8.0.1
Hardware: PC Windows 7
: P4 normal (vote)
Assignee: Petr Pisl
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-07-16 16:11 UTC by _ gtzabari
Modified: 2014-07-22 02:32 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 _ gtzabari 2014-07-16 16:11:15 UTC
Product Version: NetBeans IDE Dev (Build 201407090001)
Java: 1.8.0_11; Java HotSpot(TM) 64-Bit Server VM 25.11-b03
Runtime: Java(TM) SE Runtime Environment 1.8.0_11-b12
System: Windows 7 version 6.1 running on amd64; Cp1252; en_CA (nb)
User directory: C:\Users\Gili\AppData\Roaming\NetBeans\dev
Cache directory: C:\Users\Gili\AppData\Local\NetBeans\Cache\dev

The Javascript editor flags some functions with a warning which seems to have gotten cut off. The warning reads "In strict mode, functions can only be declared at top-level or immediately withi"

Please complete the sentence :)
Comment 1 Vladimir Riha 2014-07-17 13:52:36 UTC
reproducible

Product Version: NetBeans IDE Dev (Build 201407170001)
Comment 2 Petr Pisl 2014-07-21 09:22:25 UTC
Fixed in web-main
Comment 3 Quality Engineering 2014-07-22 02:32:55 UTC
Integrated into 'main-silver', will be available in build *201407220001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/9f5794ab6e14
User: Petr Pisl <ppisl@netbeans.org>
Log: #245740 - In strict mode, functions can only be declared at top-level or immediately withi