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 262415 - Missing semicolons should not give warning in ES6. This also cause an error
Summary: Missing semicolons should not give warning in ES6. This also cause an error
Status: RESOLVED DUPLICATE of bug 262449
Alias: None
Product: javascript
Classification: Unclassified
Component: Editor (show other bugs)
Version: 8.2
Hardware: PC Linux
: P3 normal (vote)
Assignee: Petr Pisl
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-06-13 16:36 UTC by dusty
Modified: 2016-06-20 09:09 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 dusty 2016-06-13 16:36:20 UTC
Missing semicolons in ES6 sources show a warning while they now are officially optional.

This in turn creates an error if there are two import statements of this type:

import {types as tt} from "./tokentype"
import {Parser} from "./state"

The second line shows error, while if add a semicolon to the first line, the error goes away.
Comment 1 Petr Hejl 2016-06-20 09:09:36 UTC

*** This bug has been marked as a duplicate of bug 262449 ***