mirror of https://github.com/tc39/test262.git
Fix runtime error tests previously marked as early errors (#881)
Fixes #877 Ref #872
This commit is contained in:
parent
ed2bcdc0a9
commit
763649d268
|
@ -11,7 +11,7 @@ info: |
|
|||
a. Let requiredModule be ? HostResolveImportedModule(module, required).
|
||||
b. Perform ? requiredModule.ModuleEvaluation().
|
||||
negative:
|
||||
phase: early
|
||||
phase: runtime
|
||||
type: TypeError
|
||||
flags: [module]
|
||||
---*/
|
||||
|
|
|
@ -31,7 +31,7 @@ info: |
|
|||
SameValue(resolution.[[BindingName]],
|
||||
starResolution.[[BindingName]]) is false, return "ambiguous".
|
||||
negative:
|
||||
phase: early
|
||||
phase: runtime
|
||||
type: SyntaxError
|
||||
flags: [module]
|
||||
---*/
|
||||
|
|
|
@ -31,7 +31,7 @@ info: |
|
|||
SameValue(resolution.[[BindingName]],
|
||||
starResolution.[[BindingName]]) is false, return "ambiguous".
|
||||
negative:
|
||||
phase: early
|
||||
phase: runtime
|
||||
type: SyntaxError
|
||||
flags: [module]
|
||||
---*/
|
||||
|
|
|
@ -20,7 +20,7 @@ info: |
|
|||
i. Assert: this is a circular import request.
|
||||
ii. Return null.
|
||||
negative:
|
||||
phase: early
|
||||
phase: runtime
|
||||
type: SyntaxError
|
||||
flags: [module]
|
||||
---*/
|
||||
|
|
|
@ -20,7 +20,7 @@ info: |
|
|||
i. Assert: this is a circular import request.
|
||||
ii. Return null.
|
||||
negative:
|
||||
phase: early
|
||||
phase: runtime
|
||||
type: SyntaxError
|
||||
flags: [module]
|
||||
---*/
|
||||
|
|
|
@ -19,7 +19,7 @@ info: |
|
|||
b. Throw a SyntaxError exception.
|
||||
c. NOTE A default export cannot be provided by an export *.
|
||||
negative:
|
||||
phase: early
|
||||
phase: runtime
|
||||
type: SyntaxError
|
||||
flags: [module]
|
||||
---*/
|
||||
|
|
|
@ -19,7 +19,7 @@ info: |
|
|||
b. Throw a SyntaxError exception.
|
||||
c. NOTE A default export cannot be provided by an export *.
|
||||
negative:
|
||||
phase: early
|
||||
phase: runtime
|
||||
type: SyntaxError
|
||||
flags: [module]
|
||||
---*/
|
||||
|
|
|
@ -19,7 +19,7 @@ info: |
|
|||
[...]
|
||||
11. Return starResolution.
|
||||
negative:
|
||||
phase: early
|
||||
phase: runtime
|
||||
type: SyntaxError
|
||||
flags: [module]
|
||||
---*/
|
||||
|
|
|
@ -19,7 +19,7 @@ info: |
|
|||
[...]
|
||||
11. Return starResolution.
|
||||
negative:
|
||||
phase: early
|
||||
phase: runtime
|
||||
type: SyntaxError
|
||||
flags: [module]
|
||||
---*/
|
||||
|
|
|
@ -36,7 +36,7 @@ info: |
|
|||
SameValue(resolution.[[BindingName]],
|
||||
starResolution.[[BindingName]]) is false, return "ambiguous".
|
||||
negative:
|
||||
phase: early
|
||||
phase: runtime
|
||||
type: SyntaxError
|
||||
flags: [module]
|
||||
---*/
|
||||
|
|
|
@ -36,7 +36,7 @@ info: |
|
|||
SameValue(resolution.[[BindingName]],
|
||||
starResolution.[[BindingName]]) is false, return "ambiguous".
|
||||
negative:
|
||||
phase: early
|
||||
phase: runtime
|
||||
type: SyntaxError
|
||||
flags: [module]
|
||||
---*/
|
||||
|
|
|
@ -24,7 +24,7 @@ info: |
|
|||
b. Throw a SyntaxError exception.
|
||||
c. NOTE A default export cannot be provided by an export *.
|
||||
negative:
|
||||
phase: early
|
||||
phase: runtime
|
||||
type: SyntaxError
|
||||
flags: [module]
|
||||
---*/
|
||||
|
|
|
@ -24,7 +24,7 @@ info: |
|
|||
b. Throw a SyntaxError exception.
|
||||
c. NOTE A default export cannot be provided by an export *.
|
||||
negative:
|
||||
phase: early
|
||||
phase: runtime
|
||||
type: SyntaxError
|
||||
flags: [module]
|
||||
---*/
|
||||
|
|
|
@ -24,7 +24,7 @@ info: |
|
|||
[...]
|
||||
11. Return starResolution.
|
||||
negative:
|
||||
phase: early
|
||||
phase: runtime
|
||||
type: SyntaxError
|
||||
flags: [module]
|
||||
---*/
|
||||
|
|
|
@ -24,7 +24,7 @@ info: |
|
|||
[...]
|
||||
11. Return starResolution.
|
||||
negative:
|
||||
phase: early
|
||||
phase: runtime
|
||||
type: SyntaxError
|
||||
flags: [module]
|
||||
---*/
|
||||
|
|
|
@ -24,7 +24,7 @@ info: |
|
|||
[...]
|
||||
11. Return starResolution.
|
||||
negative:
|
||||
phase: early
|
||||
phase: runtime
|
||||
type: SyntaxError
|
||||
flags: [module]
|
||||
---*/
|
||||
|
|
|
@ -23,7 +23,7 @@ info: |
|
|||
i. Let resolution be ? module.ResolveExport(name, « », « »).
|
||||
ii. If resolution is null, throw a SyntaxError exception.
|
||||
negative:
|
||||
phase: early
|
||||
phase: runtime
|
||||
type: SyntaxError
|
||||
flags: [module]
|
||||
---*/
|
||||
|
|
Loading…
Reference in New Issue