mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-05-11 09:27:00 +02:00
Import statements fail to consume their trailing semicolons, resulting in spurious EmptyStatement nodes in the AST. This will be fixed in the next commit.
9 lines
170 B
JavaScript
9 lines
170 B
JavaScript
import "module";
|
|
import "bare"
|
|
1 + 2;
|
|
import { foo } from "named";
|
|
import { bar } from "named-no-semi"
|
|
3 + 4;
|
|
import baz from "default";
|
|
import * as ns from "namespace";
|