blob: 9dfe55b49a58bf215af3dc67e2bcf6dae7cfd7d0 (
plain)
1
2
3
4
5
6
7
8
9
10
|
// Test that zero-based line numbers supplied by Reflect.parse don't cause
// assertions.
function parseAsModule(source) {
return Reflect.parse(source, {
target: "module",
line: 0
});
}
parseAsModule("import d from 'a'");
|