-
Notifications
You must be signed in to change notification settings - Fork 31
Closed
Description
The current syntax still says:
import ImportClause FromClause [no LineTerminator here] WithClause ;
NLTH was necessary to avoid ASI and compatibility issues with the assert contextual keyword. However, with is already a keyword, and is unavailable in modules, so the following is always a syntax error currently:
import foo from "foo"
with (something)Is it possible to get rid of NLTH before with, because line terminators are already allowed before from?
bathos, JLHwung and ExE-Boss
Metadata
Metadata
Assignees
Labels
No labels