The toString() of 'class' and 'function' return SourceText #739
Annotations
10 errors
Jint.Tests.Test262/Generated/Tests262Harness.Tests.built-ins.generated.cs#L11493
built-ins/Function/prototype/toString/class-declaration-complex-heritage.js
Jint.Runtime.JavaScriptException: Conforms to NativeFunction Syntax: "[class A]" (class /* a */ A /* b */ extends /* c */ class /* d */ B /* e */ { /* f */ } /* g */ { /* h */ })
---> Error: Conforms to NativeFunction Syntax: "[class A]" (class /* a */ A /* b */ extends /* c */ class /* d */ B /* e */ { /* f */ } /* g */ { /* h */ })
at assertNativeFunction (fn, special) harness/nativeFunctionMatcher.js:218:11
at assertToStringOrNativeFunction (fn, expected) harness/nativeFunctionMatcher.js:209:5
at built-ins/Function/prototype/toString/class-declaration-complex-heritage.js:13:1
--- End of inner exception stack trace ---
at Jint.Engine.ScriptEvaluation(ScriptRecord scriptRecord) in D:\a\jint\jint\Jint\Engine.cs:line 376
at Jint.Engine.ExecuteWithConstraints[T](Boolean strict, Func`1 callback) in D:\a\jint\jint\Jint\Engine.cs:line 786
at Jint.Engine.Execute(Script script) in D:\a\jint\jint\Jint\Engine.cs:line 368
at Jint.Tests.Test262.Test262Test.ExecuteTest(Engine engine, Test262File file) in D:\a\jint\jint\Jint.Tests.Test262\Test262Test.cs:line 99
at Jint.Tests.Test262.Test262Test.RunTestCode(String test, Boolean strict) in D:\a\jint\jint\Jint.Tests.Test262\Generated\Tests262Harness.Test262Test.generated.cs:line 96
01: "use strict";
02: // Copyright (C) 2016 Michael Ficarra. All rights reserved.
03: // This code is governed by the BSD license found in the LICENSE file.
04:
05: /*---
06: esid: sec-runtime-semantics-bindingclassdeclarationevaluation
07: description: Function.prototype.toString on a class declaration (with complex heritage)
08: includes: [nativeFunctionMatcher.js]
09: ---*/
10:
11: /* before */class /* a */ A /* b */ extends /* c */ class /* d */ B /* e */ { /* f */ } /* g */ { /* h */ }/* after */
12:
13: assertToStringOrNativeFunction(A, "class /* a */ A /* b */ extends /* c */ class /* d */ B /* e */ { /* f */ } /* g */ { /* h */ }");
14:
|
Jint.Tests.Test262/Generated/Tests262Harness.Tests.built-ins.generated.cs#L11493
built-ins/Function/prototype/toString/class-declaration-complex-heritage.js
Jint.Runtime.JavaScriptException: Conforms to NativeFunction Syntax: "[class A]" (class /* a */ A /* b */ extends /* c */ class /* d */ B /* e */ { /* f */ } /* g */ { /* h */ })
---> Error: Conforms to NativeFunction Syntax: "[class A]" (class /* a */ A /* b */ extends /* c */ class /* d */ B /* e */ { /* f */ } /* g */ { /* h */ })
at assertNativeFunction (fn, special) harness/nativeFunctionMatcher.js:218:11
at assertToStringOrNativeFunction (fn, expected) harness/nativeFunctionMatcher.js:209:5
at built-ins/Function/prototype/toString/class-declaration-complex-heritage.js:12:1
--- End of inner exception stack trace ---
at Jint.Engine.ScriptEvaluation(ScriptRecord scriptRecord) in D:\a\jint\jint\Jint\Engine.cs:line 376
at Jint.Engine.ExecuteWithConstraints[T](Boolean strict, Func`1 callback) in D:\a\jint\jint\Jint\Engine.cs:line 786
at Jint.Engine.Execute(Script script) in D:\a\jint\jint\Jint\Engine.cs:line 368
at Jint.Tests.Test262.Test262Test.ExecuteTest(Engine engine, Test262File file) in D:\a\jint\jint\Jint.Tests.Test262\Test262Test.cs:line 99
at Jint.Tests.Test262.Test262Test.RunTestCode(String test, Boolean strict) in D:\a\jint\jint\Jint.Tests.Test262\Generated\Tests262Harness.Test262Test.generated.cs:line 96
01: // Copyright (C) 2016 Michael Ficarra. All rights reserved.
02: // This code is governed by the BSD license found in the LICENSE file.
03:
04: /*---
05: esid: sec-runtime-semantics-bindingclassdeclarationevaluation
06: description: Function.prototype.toString on a class declaration (with complex heritage)
07: includes: [nativeFunctionMatcher.js]
08: ---*/
09:
10: /* before */class /* a */ A /* b */ extends /* c */ class /* d */ B /* e */ { /* f */ } /* g */ { /* h */ }/* after */
11:
12: assertToStringOrNativeFunction(A, "class /* a */ A /* b */ extends /* c */ class /* d */ B /* e */ { /* f */ } /* g */ { /* h */ }");
13:
|
Jint.Tests.Test262/Generated/Tests262Harness.Tests.built-ins.generated.cs#L11493
built-ins/Function/prototype/toString/class-declaration-explicit-ctor.js
Jint.Runtime.JavaScriptException: Conforms to NativeFunction Syntax: "[class A]" (class /* a */ A /* b */ extends /* c */ B /* d */ { /* e */ constructor /* f */ ( /* g */ ) /* h */ { /* i */ ; /* j */ } /* k */ m /* l */ ( /* m */ ) /* n */ { /* o */ } /* p */ })
---> Error: Conforms to NativeFunction Syntax: "[class A]" (class /* a */ A /* b */ extends /* c */ B /* d */ { /* e */ constructor /* f */ ( /* g */ ) /* h */ { /* i */ ; /* j */ } /* k */ m /* l */ ( /* m */ ) /* n */ { /* o */ } /* p */ })
at assertNativeFunction (fn, special) harness/nativeFunctionMatcher.js:218:11
at assertToStringOrNativeFunction (fn, expected) harness/nativeFunctionMatcher.js:209:5
at built-ins/Function/prototype/toString/class-declaration-explicit-ctor.js:12:1
--- End of inner exception stack trace ---
at Jint.Engine.ScriptEvaluation(ScriptRecord scriptRecord) in D:\a\jint\jint\Jint\Engine.cs:line 376
at Jint.Engine.ExecuteWithConstraints[T](Boolean strict, Func`1 callback) in D:\a\jint\jint\Jint\Engine.cs:line 786
at Jint.Engine.Execute(Script script) in D:\a\jint\jint\Jint\Engine.cs:line 368
at Jint.Tests.Test262.Test262Test.ExecuteTest(Engine engine, Test262File file) in D:\a\jint\jint\Jint.Tests.Test262\Test262Test.cs:line 99
at Jint.Tests.Test262.Test262Test.RunTestCode(String test, Boolean strict) in D:\a\jint\jint\Jint.Tests.Test262\Generated\Tests262Harness.Test262Test.generated.cs:line 96
01: // Copyright (C) 2016 Michael Ficarra. All rights reserved.
02: // This code is governed by the BSD license found in the LICENSE file.
03:
04: /*---
05: esid: sec-runtime-semantics-bindingclassdeclarationevaluation
06: description: Function.prototype.toString on a class declaration (explicit constructor)
07: includes: [nativeFunctionMatcher.js]
08: ---*/
09:
10: /* before */class /* a */ A /* b */ extends /* c */ B /* d */ { /* e */ constructor /* f */ ( /* g */ ) /* h */ { /* i */ ; /* j */ } /* k */ m /* l */ ( /* m */ ) /* n */ { /* o */ } /* p */ }/* after */
11:
12: assertToStringOrNativeFunction(A, "class /* a */ A /* b */ extends /* c */ B /* d */ { /* e */ constructor /* f */ ( /* g */ ) /* h */ { /* i */ ; /* j */ } /* k */ m /* l */ ( /* m */ ) /* n */ { /* o */ } /* p */ }");
13:
14: function B(){}
15:
|
Jint.Tests.Test262/Generated/Tests262Harness.Tests.built-ins.generated.cs#L11493
built-ins/Function/prototype/toString/class-declaration-explicit-ctor.js
Jint.Runtime.JavaScriptException: Conforms to NativeFunction Syntax: "[class A]" (class /* a */ A /* b */ extends /* c */ B /* d */ { /* e */ constructor /* f */ ( /* g */ ) /* h */ { /* i */ ; /* j */ } /* k */ m /* l */ ( /* m */ ) /* n */ { /* o */ } /* p */ })
---> Error: Conforms to NativeFunction Syntax: "[class A]" (class /* a */ A /* b */ extends /* c */ B /* d */ { /* e */ constructor /* f */ ( /* g */ ) /* h */ { /* i */ ; /* j */ } /* k */ m /* l */ ( /* m */ ) /* n */ { /* o */ } /* p */ })
at assertNativeFunction (fn, special) harness/nativeFunctionMatcher.js:218:11
at assertToStringOrNativeFunction (fn, expected) harness/nativeFunctionMatcher.js:209:5
at built-ins/Function/prototype/toString/class-declaration-explicit-ctor.js:13:1
--- End of inner exception stack trace ---
at Jint.Engine.ScriptEvaluation(ScriptRecord scriptRecord) in D:\a\jint\jint\Jint\Engine.cs:line 376
at Jint.Engine.ExecuteWithConstraints[T](Boolean strict, Func`1 callback) in D:\a\jint\jint\Jint\Engine.cs:line 786
at Jint.Engine.Execute(Script script) in D:\a\jint\jint\Jint\Engine.cs:line 368
at Jint.Tests.Test262.Test262Test.ExecuteTest(Engine engine, Test262File file) in D:\a\jint\jint\Jint.Tests.Test262\Test262Test.cs:line 99
at Jint.Tests.Test262.Test262Test.RunTestCode(String test, Boolean strict) in D:\a\jint\jint\Jint.Tests.Test262\Generated\Tests262Harness.Test262Test.generated.cs:line 96
01: "use strict";
02: // Copyright (C) 2016 Michael Ficarra. All rights reserved.
03: // This code is governed by the BSD license found in the LICENSE file.
04:
05: /*---
06: esid: sec-runtime-semantics-bindingclassdeclarationevaluation
07: description: Function.prototype.toString on a class declaration (explicit constructor)
08: includes: [nativeFunctionMatcher.js]
09: ---*/
10:
11: /* before */class /* a */ A /* b */ extends /* c */ B /* d */ { /* e */ constructor /* f */ ( /* g */ ) /* h */ { /* i */ ; /* j */ } /* k */ m /* l */ ( /* m */ ) /* n */ { /* o */ } /* p */ }/* after */
12:
13: assertToStringOrNativeFunction(A, "class /* a */ A /* b */ extends /* c */ B /* d */ { /* e */ constructor /* f */ ( /* g */ ) /* h */ { /* i */ ; /* j */ } /* k */ m /* l */ ( /* m */ ) /* n */ { /* o */ } /* p */ }");
14:
15: function B(){}
16:
|
Jint.Tests.Test262/Generated/Tests262Harness.Tests.built-ins.generated.cs#L11493
built-ins/Function/prototype/toString/class-declaration-implicit-ctor.js
Jint.Runtime.JavaScriptException: Conforms to NativeFunction Syntax: "[class A]" (class /* a */ A /* b */ { /* c */ })
---> Error: Conforms to NativeFunction Syntax: "[class A]" (class /* a */ A /* b */ { /* c */ })
at assertNativeFunction (fn, special) harness/nativeFunctionMatcher.js:218:11
at assertToStringOrNativeFunction (fn, expected) harness/nativeFunctionMatcher.js:209:5
at built-ins/Function/prototype/toString/class-declaration-implicit-ctor.js:14:1
--- End of inner exception stack trace ---
at Jint.Engine.ScriptEvaluation(ScriptRecord scriptRecord) in D:\a\jint\jint\Jint\Engine.cs:line 376
at Jint.Engine.ExecuteWithConstraints[T](Boolean strict, Func`1 callback) in D:\a\jint\jint\Jint\Engine.cs:line 786
at Jint.Engine.Execute(Script script) in D:\a\jint\jint\Jint\Engine.cs:line 368
at Jint.Tests.Test262.Test262Test.ExecuteTest(Engine engine, Test262File file) in D:\a\jint\jint\Jint.Tests.Test262\Test262Test.cs:line 99
at Jint.Tests.Test262.Test262Test.RunTestCode(String test, Boolean strict) in D:\a\jint\jint\Jint.Tests.Test262\Generated\Tests262Harness.Test262Test.generated.cs:line 96
01: // Copyright (C) 2016 Michael Ficarra. All rights reserved.
02: // This code is governed by the BSD license found in the LICENSE file.
03:
04: /*---
05: esid: sec-runtime-semantics-bindingclassdeclarationevaluation
06: description: Function.prototype.toString on a class declaration (implicit constructor)
07: includes: [nativeFunctionMatcher.js]
08: ---*/
09:
10: /* before */class /* a */ A /* b */ { /* c */ }/* after */
11: /* before */class /* a */ B /* b */ extends /* c */ A /* d */ { /* e */ }/* after */
12: /* before */class /* a */ C /* b */ extends /* c */ B /* d */ { /* e */ m /* f */ ( /* g */ ) /* h */ { /* i */ } /* j */ }/* after */
13:
14: assertToStringOrNativeFunction(A, "class /* a */ A /* b */ { /* c */ }");
15: assertToStringOrNativeFunction(B, "class /* a */ B /* b */ extends /* c */ A /* d */ { /* e */ }");
16: assertToStringOrNativeFunction(C, "class /* a */ C /* b */ extends /* c */ B /* d */ { /* e */ m /* f */ ( /* g */ ) /* h */ { /* i */ } /* j */ }");
17:
|
Jint.Tests.Test262/Generated/Tests262Harness.Tests.built-ins.generated.cs#L11493
built-ins/Function/prototype/toString/class-declaration-implicit-ctor.js
Jint.Runtime.JavaScriptException: Conforms to NativeFunction Syntax: "[class A]" (class /* a */ A /* b */ { /* c */ })
---> Error: Conforms to NativeFunction Syntax: "[class A]" (class /* a */ A /* b */ { /* c */ })
at assertNativeFunction (fn, special) harness/nativeFunctionMatcher.js:218:11
at assertToStringOrNativeFunction (fn, expected) harness/nativeFunctionMatcher.js:209:5
at built-ins/Function/prototype/toString/class-declaration-implicit-ctor.js:15:1
--- End of inner exception stack trace ---
at Jint.Engine.ScriptEvaluation(ScriptRecord scriptRecord) in D:\a\jint\jint\Jint\Engine.cs:line 376
at Jint.Engine.ExecuteWithConstraints[T](Boolean strict, Func`1 callback) in D:\a\jint\jint\Jint\Engine.cs:line 786
at Jint.Engine.Execute(Script script) in D:\a\jint\jint\Jint\Engine.cs:line 368
at Jint.Tests.Test262.Test262Test.ExecuteTest(Engine engine, Test262File file) in D:\a\jint\jint\Jint.Tests.Test262\Test262Test.cs:line 99
at Jint.Tests.Test262.Test262Test.RunTestCode(String test, Boolean strict) in D:\a\jint\jint\Jint.Tests.Test262\Generated\Tests262Harness.Test262Test.generated.cs:line 96
01: "use strict";
02: // Copyright (C) 2016 Michael Ficarra. All rights reserved.
03: // This code is governed by the BSD license found in the LICENSE file.
04:
05: /*---
06: esid: sec-runtime-semantics-bindingclassdeclarationevaluation
07: description: Function.prototype.toString on a class declaration (implicit constructor)
08: includes: [nativeFunctionMatcher.js]
09: ---*/
10:
11: /* before */class /* a */ A /* b */ { /* c */ }/* after */
12: /* before */class /* a */ B /* b */ extends /* c */ A /* d */ { /* e */ }/* after */
13: /* before */class /* a */ C /* b */ extends /* c */ B /* d */ { /* e */ m /* f */ ( /* g */ ) /* h */ { /* i */ } /* j */ }/* after */
14:
15: assertToStringOrNativeFunction(A, "class /* a */ A /* b */ { /* c */ }");
16: assertToStringOrNativeFunction(B, "class /* a */ B /* b */ extends /* c */ A /* d */ { /* e */ }");
17: assertToStringOrNativeFunction(C, "class /* a */ C /* b */ extends /* c */ B /* d */ { /* e */ m /* f */ ( /* g */ ) /* h */ { /* i */ } /* j */ }");
18:
|
Jint.Tests.Test262/Generated/Tests262Harness.Tests.built-ins.generated.cs#L11493
built-ins/Function/prototype/toString/class-expression-explicit-ctor.js
Jint.Runtime.JavaScriptException: Conforms to NativeFunction Syntax: "[class A]" (class /* a */ A /* b */ extends /* c */ B /* d */ { /* e */ constructor /* f */ ( /* g */ ) /* h */ { /* i */ ; /* j */ } /* k */ m /* l */ ( /* m */ ) /* n */ { /* o */ } /* p */ })
---> Error: Conforms to NativeFunction Syntax: "[class A]" (class /* a */ A /* b */ extends /* c */ B /* d */ { /* e */ constructor /* f */ ( /* g */ ) /* h */ { /* i */ ; /* j */ } /* k */ m /* l */ ( /* m */ ) /* n */ { /* o */ } /* p */ })
at assertNativeFunction (fn, special) harness/nativeFunctionMatcher.js:218:11
at assertToStringOrNativeFunction (fn, expected) harness/nativeFunctionMatcher.js:209:5
at built-ins/Function/prototype/toString/class-expression-explicit-ctor.js:12:1
--- End of inner exception stack trace ---
at Jint.Engine.ScriptEvaluation(ScriptRecord scriptRecord) in D:\a\jint\jint\Jint\Engine.cs:line 376
at Jint.Engine.ExecuteWithConstraints[T](Boolean strict, Func`1 callback) in D:\a\jint\jint\Jint\Engine.cs:line 786
at Jint.Engine.Execute(Script script) in D:\a\jint\jint\Jint\Engine.cs:line 368
at Jint.Tests.Test262.Test262Test.ExecuteTest(Engine engine, Test262File file) in D:\a\jint\jint\Jint.Tests.Test262\Test262Test.cs:line 99
at Jint.Tests.Test262.Test262Test.RunTestCode(String test, Boolean strict) in D:\a\jint\jint\Jint.Tests.Test262\Generated\Tests262Harness.Test262Test.generated.cs:line 96
01: // Copyright (C) 2016 Michael Ficarra. All rights reserved.
02: // This code is governed by the BSD license found in the LICENSE file.
03:
04: /*---
05: esid: sec-class-definitions-runtime-semantics-evaluation
06: description: Function.prototype.toString on a class expression (explicit constructor)
07: includes: [nativeFunctionMatcher.js]
08: ---*/
09:
10: let A = /* before */class /* a */ A /* b */ extends /* c */ B /* d */ { /* e */ constructor /* f */ ( /* g */ ) /* h */ { /* i */ ; /* j */ } /* k */ m /* l */ ( /* m */ ) /* n */ { /* o */ } /* p */ }/* after */;
11:
12: assertToStringOrNativeFunction(A, "class /* a */ A /* b */ extends /* c */ B /* d */ { /* e */ constructor /* f */ ( /* g */ ) /* h */ { /* i */ ; /* j */ } /* k */ m /* l */ ( /* m */ ) /* n */ { /* o */ } /* p */ }");
13:
14: function B(){}
15:
|
Jint.Tests.Test262/Generated/Tests262Harness.Tests.built-ins.generated.cs#L11493
built-ins/Function/prototype/toString/class-expression-explicit-ctor.js
Jint.Runtime.JavaScriptException: Conforms to NativeFunction Syntax: "[class A]" (class /* a */ A /* b */ extends /* c */ B /* d */ { /* e */ constructor /* f */ ( /* g */ ) /* h */ { /* i */ ; /* j */ } /* k */ m /* l */ ( /* m */ ) /* n */ { /* o */ } /* p */ })
---> Error: Conforms to NativeFunction Syntax: "[class A]" (class /* a */ A /* b */ extends /* c */ B /* d */ { /* e */ constructor /* f */ ( /* g */ ) /* h */ { /* i */ ; /* j */ } /* k */ m /* l */ ( /* m */ ) /* n */ { /* o */ } /* p */ })
at assertNativeFunction (fn, special) harness/nativeFunctionMatcher.js:218:11
at assertToStringOrNativeFunction (fn, expected) harness/nativeFunctionMatcher.js:209:5
at built-ins/Function/prototype/toString/class-expression-explicit-ctor.js:13:1
--- End of inner exception stack trace ---
at Jint.Engine.ScriptEvaluation(ScriptRecord scriptRecord) in D:\a\jint\jint\Jint\Engine.cs:line 376
at Jint.Engine.ExecuteWithConstraints[T](Boolean strict, Func`1 callback) in D:\a\jint\jint\Jint\Engine.cs:line 786
at Jint.Engine.Execute(Script script) in D:\a\jint\jint\Jint\Engine.cs:line 368
at Jint.Tests.Test262.Test262Test.ExecuteTest(Engine engine, Test262File file) in D:\a\jint\jint\Jint.Tests.Test262\Test262Test.cs:line 99
at Jint.Tests.Test262.Test262Test.RunTestCode(String test, Boolean strict) in D:\a\jint\jint\Jint.Tests.Test262\Generated\Tests262Harness.Test262Test.generated.cs:line 96
01: "use strict";
02: // Copyright (C) 2016 Michael Ficarra. All rights reserved.
03: // This code is governed by the BSD license found in the LICENSE file.
04:
05: /*---
06: esid: sec-class-definitions-runtime-semantics-evaluation
07: description: Function.prototype.toString on a class expression (explicit constructor)
08: includes: [nativeFunctionMatcher.js]
09: ---*/
10:
11: let A = /* before */class /* a */ A /* b */ extends /* c */ B /* d */ { /* e */ constructor /* f */ ( /* g */ ) /* h */ { /* i */ ; /* j */ } /* k */ m /* l */ ( /* m */ ) /* n */ { /* o */ } /* p */ }/* after */;
12:
13: assertToStringOrNativeFunction(A, "class /* a */ A /* b */ extends /* c */ B /* d */ { /* e */ constructor /* f */ ( /* g */ ) /* h */ { /* i */ ; /* j */ } /* k */ m /* l */ ( /* m */ ) /* n */ { /* o */ } /* p */ }");
14:
15: function B(){}
16:
|
Jint.Tests.Test262/Generated/Tests262Harness.Tests.built-ins.generated.cs#L11493
built-ins/Function/prototype/toString/class-expression-implicit-ctor.js
Jint.Runtime.JavaScriptException: Conforms to NativeFunction Syntax: "[class A]" (class /* a */ A /* b */ { /* c */ })
---> Error: Conforms to NativeFunction Syntax: "[class A]" (class /* a */ A /* b */ { /* c */ })
at assertNativeFunction (fn, special) harness/nativeFunctionMatcher.js:218:11
at assertToStringOrNativeFunction (fn, expected) harness/nativeFunctionMatcher.js:209:5
at built-ins/Function/prototype/toString/class-expression-implicit-ctor.js:14:1
--- End of inner exception stack trace ---
at Jint.Engine.ScriptEvaluation(ScriptRecord scriptRecord) in D:\a\jint\jint\Jint\Engine.cs:line 376
at Jint.Engine.ExecuteWithConstraints[T](Boolean strict, Func`1 callback) in D:\a\jint\jint\Jint\Engine.cs:line 786
at Jint.Engine.Execute(Script script) in D:\a\jint\jint\Jint\Engine.cs:line 368
at Jint.Tests.Test262.Test262Test.ExecuteTest(Engine engine, Test262File file) in D:\a\jint\jint\Jint.Tests.Test262\Test262Test.cs:line 99
at Jint.Tests.Test262.Test262Test.RunTestCode(String test, Boolean strict) in D:\a\jint\jint\Jint.Tests.Test262\Generated\Tests262Harness.Test262Test.generated.cs:line 96
01: // Copyright (C) 2016 Michael Ficarra. All rights reserved.
02: // This code is governed by the BSD license found in the LICENSE file.
03:
04: /*---
05: esid: sec-class-definitions-runtime-semantics-evaluation
06: description: Function.prototype.toString on a class expression (implicit constructor)
07: includes: [nativeFunctionMatcher.js]
08: ---*/
09:
10: let A = /* before */class /* a */ A /* b */ { /* c */ }/* after */;
11: let B = /* before */class /* a */ B /* b */ extends /* c */ A /* d */ { /* e */ }/* after */;
12: let C = /* before */class /* a */ C /* b */ extends /* c */ B /* d */ { /* e */ m /* f */ ( /* g */ ) /* h */ { /* i */ } /* j */ }/* after */;
13:
14: assertToStringOrNativeFunction(A, "class /* a */ A /* b */ { /* c */ }");
15: assertToStringOrNativeFunction(B, "class /* a */ B /* b */ extends /* c */ A /* d */ { /* e */ }");
16: assertToStringOrNativeFunction(C, "class /* a */ C /* b */ extends /* c */ B /* d */ { /* e */ m /* f */ ( /* g */ ) /* h */ { /* i */ } /* j */ }");
17:
|
Jint.Tests.Test262/Generated/Tests262Harness.Tests.built-ins.generated.cs#L11493
built-ins/Function/prototype/toString/class-expression-implicit-ctor.js
Jint.Runtime.JavaScriptException: Conforms to NativeFunction Syntax: "[class A]" (class /* a */ A /* b */ { /* c */ })
---> Error: Conforms to NativeFunction Syntax: "[class A]" (class /* a */ A /* b */ { /* c */ })
at assertNativeFunction (fn, special) harness/nativeFunctionMatcher.js:218:11
at assertToStringOrNativeFunction (fn, expected) harness/nativeFunctionMatcher.js:209:5
at built-ins/Function/prototype/toString/class-expression-implicit-ctor.js:15:1
--- End of inner exception stack trace ---
at Jint.Engine.ScriptEvaluation(ScriptRecord scriptRecord) in D:\a\jint\jint\Jint\Engine.cs:line 376
at Jint.Engine.ExecuteWithConstraints[T](Boolean strict, Func`1 callback) in D:\a\jint\jint\Jint\Engine.cs:line 786
at Jint.Engine.Execute(Script script) in D:\a\jint\jint\Jint\Engine.cs:line 368
at Jint.Tests.Test262.Test262Test.ExecuteTest(Engine engine, Test262File file) in D:\a\jint\jint\Jint.Tests.Test262\Test262Test.cs:line 99
at Jint.Tests.Test262.Test262Test.RunTestCode(String test, Boolean strict) in D:\a\jint\jint\Jint.Tests.Test262\Generated\Tests262Harness.Test262Test.generated.cs:line 96
01: "use strict";
02: // Copyright (C) 2016 Michael Ficarra. All rights reserved.
03: // This code is governed by the BSD license found in the LICENSE file.
04:
05: /*---
06: esid: sec-class-definitions-runtime-semantics-evaluation
07: description: Function.prototype.toString on a class expression (implicit constructor)
08: includes: [nativeFunctionMatcher.js]
09: ---*/
10:
11: let A = /* before */class /* a */ A /* b */ { /* c */ }/* after */;
12: let B = /* before */class /* a */ B /* b */ extends /* c */ A /* d */ { /* e */ }/* after */;
13: let C = /* before */class /* a */ C /* b */ extends /* c */ B /* d */ { /* e */ m /* f */ ( /* g */ ) /* h */ { /* i */ } /* j */ }/* after */;
14:
15: assertToStringOrNativeFunction(A, "class /* a */ A /* b */ { /* c */ }");
16: assertToStringOrNativeFunction(B, "class /* a */ B /* b */ extends /* c */ A /* d */ { /* e */ }");
17: assertToStringOrNativeFunction(C, "class /* a */ C /* b */ extends /* c */ B /* d */ { /* e */ m /* f */ ( /* g */ ) /* h */ { /* i */ } /* j */ }");
18:
|
The logs for this run have expired and are no longer available.
Loading