mirror of https://github.com/tc39/test262.git
add Arbitrary module namespace names feature
This commit is contained in:
parent
f4ec59ad38
commit
ad8a5e9940
|
@ -188,6 +188,10 @@ Array.prototype.item
|
||||||
String.prototype.item
|
String.prototype.item
|
||||||
TypedArray.prototype.item
|
TypedArray.prototype.item
|
||||||
|
|
||||||
|
# Arbitrary module namespace names
|
||||||
|
# https://github.com/tc39/ecma262/pull/2154
|
||||||
|
arbitrary-module-namespace-names
|
||||||
|
|
||||||
## Standard language features
|
## Standard language features
|
||||||
#
|
#
|
||||||
# Language features that have been included in a published version of the
|
# Language features that have been included in a published version of the
|
||||||
|
|
|
@ -12,6 +12,7 @@ negative:
|
||||||
flags: module
|
flags: module
|
||||||
phase: parse
|
phase: parse
|
||||||
type: SyntaxError
|
type: SyntaxError
|
||||||
|
features: [arbitrary-module-namespace-names]
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
$DONOTEVALUATE();
|
$DONOTEVALUATE();
|
||||||
|
|
|
@ -10,6 +10,7 @@ info: |
|
||||||
ModuleExportName : StringLiteral
|
ModuleExportName : StringLiteral
|
||||||
|
|
||||||
flags: [module]
|
flags: [module]
|
||||||
|
features: [arbitrary-module-namespace-names]
|
||||||
---*/
|
---*/
|
||||||
import * as Scouts from "./export-expname_FIXTURE.js";
|
import * as Scouts from "./export-expname_FIXTURE.js";
|
||||||
|
|
||||||
|
|
|
@ -14,6 +14,7 @@ info: |
|
||||||
ModuleExportName : StringLiteral
|
ModuleExportName : StringLiteral
|
||||||
|
|
||||||
flags: [module]
|
flags: [module]
|
||||||
|
features: [arbitrary-module-namespace-names]
|
||||||
---*/
|
---*/
|
||||||
import * as Scouts from "./export-expname-from-binding-string.js";
|
import * as Scouts from "./export-expname-from-binding-string.js";
|
||||||
export { Mercury as "☿" } from "./export-expname_FIXTURE.js";
|
export { Mercury as "☿" } from "./export-expname_FIXTURE.js";
|
||||||
|
|
|
@ -11,6 +11,7 @@ info: |
|
||||||
ModuleExportName : StringLiteral
|
ModuleExportName : StringLiteral
|
||||||
|
|
||||||
flags: [module]
|
flags: [module]
|
||||||
|
features: [arbitrary-module-namespace-names]
|
||||||
---*/
|
---*/
|
||||||
import * as Scouts from "./export-expname-from-star-string.js";
|
import * as Scouts from "./export-expname-from-star-string.js";
|
||||||
export * as "All" from "./export-expname_FIXTURE.js";
|
export * as "All" from "./export-expname_FIXTURE.js";
|
||||||
|
|
|
@ -9,6 +9,7 @@ info: |
|
||||||
`*`
|
`*`
|
||||||
|
|
||||||
flags: [module]
|
flags: [module]
|
||||||
|
features: [arbitrary-module-namespace-names]
|
||||||
---*/
|
---*/
|
||||||
import * as Scouts from "./export-expname-from-star.js";
|
import * as Scouts from "./export-expname-from-star.js";
|
||||||
export * from "./export-expname_FIXTURE.js";
|
export * from "./export-expname_FIXTURE.js";
|
||||||
|
|
|
@ -12,6 +12,7 @@ info: |
|
||||||
[+From] ModuleExportName as IdentifierName
|
[+From] ModuleExportName as IdentifierName
|
||||||
|
|
||||||
flags: [module]
|
flags: [module]
|
||||||
|
features: [arbitrary-module-namespace-names]
|
||||||
---*/
|
---*/
|
||||||
import * as Scouts from "./export-expname-from-string-binding.js";
|
import * as Scouts from "./export-expname-from-string-binding.js";
|
||||||
export { "☿" as Ami } from "./export-expname_FIXTURE.js";
|
export { "☿" as Ami } from "./export-expname_FIXTURE.js";
|
||||||
|
|
|
@ -12,6 +12,7 @@ info: |
|
||||||
[+From] ModuleExportName as ModuleExportName
|
[+From] ModuleExportName as ModuleExportName
|
||||||
|
|
||||||
flags: [module]
|
flags: [module]
|
||||||
|
features: [arbitrary-module-namespace-names]
|
||||||
---*/
|
---*/
|
||||||
import * as Scouts from "./export-expname-from-string-string.js";
|
import * as Scouts from "./export-expname-from-string-string.js";
|
||||||
export { "☿" as "Ami" } from "./export-expname_FIXTURE.js";
|
export { "☿" as "Ami" } from "./export-expname_FIXTURE.js";
|
||||||
|
|
|
@ -14,6 +14,7 @@ info: |
|
||||||
ModuleExportName : StringLiteral
|
ModuleExportName : StringLiteral
|
||||||
|
|
||||||
flags: [module]
|
flags: [module]
|
||||||
|
features: [arbitrary-module-namespace-names]
|
||||||
---*/
|
---*/
|
||||||
import * as Scouts from "./export-expname-from-string.js";
|
import * as Scouts from "./export-expname-from-string.js";
|
||||||
export { "☿" } from "./export-expname_FIXTURE.js";
|
export { "☿" } from "./export-expname_FIXTURE.js";
|
||||||
|
|
|
@ -10,6 +10,7 @@ info: |
|
||||||
ModuleExportName `as` IdentifierName
|
ModuleExportName `as` IdentifierName
|
||||||
|
|
||||||
flags: [module]
|
flags: [module]
|
||||||
|
features: [arbitrary-module-namespace-names]
|
||||||
---*/
|
---*/
|
||||||
import { "☿" as Ami } from "./export-expname_FIXTURE.js";
|
import { "☿" as Ami } from "./export-expname_FIXTURE.js";
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue