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 147679 - JavaScript IDE parsing for destructured assignment
Summary: JavaScript IDE parsing for destructured assignment
Status: RESOLVED DUPLICATE of bug 147817
Alias: None
Product: javascript
Classification: Unclassified
Component: Editor (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Torbjorn Norbye
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-09-19 06:51 UTC by brettz9
Modified: 2009-02-27 14:26 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 brettz9 2008-09-19 06:51:51 UTC
Superb job on the JavaScript IDE--Using NetBeans just for that...Color customizations are worth it alone.

I'm having problems with the IDE parsing JavaScript for display if it is formatted with destructuring assignment
(http://developer.mozilla.org/en/docs/New_in_JavaScript_1.7#Destructuring_assignment )


   [condition, type] = someFuncReturningArray();

Gives "Syntax error"
Comment 1 Peter Pis 2008-09-19 07:22:33 UTC
Reassigning to javascript for evaluation.
Comment 2 Torbjorn Norbye 2008-09-22 20:02:13 UTC
I'm tracking JavaScript 1.7 features in issue 147817

*** This issue has been marked as a duplicate of 147817 ***