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.
Summary: | ECMAScript 6 support (bug with constructors) | ||
---|---|---|---|
Product: | javascript | Reporter: | murtukov |
Component: | Editor | Assignee: | Petr Pisl <ppisl> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | P3 | ||
Version: | 8.2 | ||
Hardware: | PC | ||
OS: | Windows 7 | ||
Issue Type: | DEFECT | Exception Reporter: | |
Attachments: |
Code example with 3 classes
Code example with 3 classes (edited) |
Created attachment 162367 [details]
Code example with 3 classes (edited)
Reproducible Fixed in web-main. http://hg.netbeans.org/web-main/rev/7b24045b4eb3 Thanks for reporting. Integrated into 'main-silver', will be available in build *201610070002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/7b24045b4eb3 User: Petr Pisl <ppisl@netbeans.org> Log: #268377 - ECMAScript 6 support (bug with constructors) Transplanted to the releases/release82. |
Created attachment 162366 [details] Code example with 3 classes If you create more than one class in a single js file, the constructors of these classes are recognized incorrectly. More precisely, only the constructor of first class will be recognized correctly and all the others will be recognized as independent functions (you can see it in Navigation panel on the screenshot)