Skip to content

Conversation

@kermanx
Copy link
Owner

@kermanx kermanx commented Mar 13, 2025

No description provided.

@pkg-pr-new
Copy link

pkg-pr-new bot commented Mar 13, 2025

Open in StackBlitz

@kermanx/tree-shaker

npm i https://pkg.pr.new/kermanx/tree-shaker/@kermanx/tree-shaker@43

@kermanx/tree-shaker-darwin-arm64

npm i https://pkg.pr.new/kermanx/tree-shaker/@kermanx/tree-shaker-darwin-arm64@43

@kermanx/tree-shaker-linux-x64-gnu

npm i https://pkg.pr.new/kermanx/tree-shaker/@kermanx/tree-shaker-linux-x64-gnu@43

@kermanx/tree-shaker-darwin-x64

npm i https://pkg.pr.new/kermanx/tree-shaker/@kermanx/tree-shaker-darwin-x64@43

@kermanx/tree-shaker-win32-x64-msvc

npm i https://pkg.pr.new/kermanx/tree-shaker/@kermanx/tree-shaker-win32-x64-msvc@43

commit: b88a4d2

@codspeed-hq
Copy link

codspeed-hq bot commented Mar 13, 2025

CodSpeed Performance Report

Merging #43 will not alter performance

Comparing fix/handle-diagnoscs (e256ba8) with main (1f6daec)

Summary

✅ 3 untouched benchmarks

@github-actions
Copy link

github-actions bot commented Mar 13, 2025

Test262 Result

  • Failed: 100
  • Total: 43706
  • Passed: 36050
  • Ignored: 3839

Failed Tests

language/identifiers/part-unicode-15.1.0-class-escaped.js: Expected no error, got Error: [/entry.js] Invalid Character '・' [/entry.js] Invalid Character '・'
language/identifiers/part-unicode-15.1.0-class.js: Expected no error, got Error: [/entry.js] Expected a semicolon or an implicit semicolon after a statement, but found none [/entry.js] Invalid Character '・'
language/identifiers/part-unicode-15.1.0-escaped.js: Expected no error, got Error: [/entry.js] Invalid Character '・' [/entry.js] Invalid Character '・'
language/identifiers/part-unicode-15.1.0.js: Expected no error, got Error: [/entry.js] Expected a semicolon or an implicit semicolon after a statement, but found none [/entry.js] Invalid Character '・'
language/identifiers/part-unicode-16.0.0-class-escaped.js: Expected no error, got Error: [/entry.js] Invalid Character 'ࢗ' [/entry.js] Invalid Character '𐵀' [/entry.js] Invalid Character '𐵁' [/entry.js] Invalid Character '𐵂' [/entry.js] Invalid Character '𐵃' [/entry.js] Invalid Character '𐵄' [/entry.js] Invalid Character '𐵅' [/entry.js] Invalid Character '𐵆' [/entry.js] Invalid Character '𐵇' [/entry.js] Invalid Character '𐵈' [/entry.js] Invalid Character '𐵉' [/entry.js] Invalid Character '𐵩' [/entry.js] Invalid Character '𐵪' [/entry.js] Invalid Character '𐵫' [/entry.js] Invalid Character '𐵬' [/entry.js] Invalid Character '𐵭' [/entry.js] Invalid Character '𐻼' [/entry.js] Invalid Character '𑎸' [/entry.js] Invalid Character '𑎹' [/entry.js] Invalid Character '𑎺' [/entry.js] Invalid Character '𑎻' [/entry.js] Invalid Character '𑎼' [/entry.js] Invalid Character '𑎽' [/entry.js] Invalid Character '𑎾' [/entry.js] Invalid Character '𑎿' [/entry.js] Invalid Character '𑏀' [/entry.js] Invalid Character '𑏂' [/entry.js] Invalid Character '𑏅' [/entry.js] Invalid Character '𑏇' [/entry.js] Invalid Character '𑏈' [/entry.js] Invalid Character '𑏉' [/entry.js] Invalid Character '𑏊' [/entry.js] Invalid Character '𑏌' [/entry.js] Invalid Character '𑏍' [/entry.js] Invalid Character '𑏎' [/entry.js] Invalid Character '𑏏' [/entry.js] Invalid Character '𑏐' [/entry.js] Invalid Character '𑏒' [/entry.js] Invalid Character '𑏡' [/entry.js] Invalid Character '𑏢' [/entry.js] Invalid Character '𑛐' [/entry.js] Invalid Character '𑛑' [/entry.js] Invalid Character '𑛒' [/entry.js] Invalid Character '𑛓' [/entry.js] Invalid Character '𑛔' [/entry.js] Invalid Character '𑛕' [/entry.js] Invalid Character '𑛖' [/entry.js] Invalid Character '𑛗' [/entry.js] Invalid Character '𑛘' [/entry.js] Invalid Character '𑛙' [/entry.js] Invalid Character '𑛚' [/entry.js] Invalid Character '𑛛' [/entry.js] Invalid Character '𑛜' [/entry.js] Invalid Character '𑛝' [/entry.js] Invalid Character '𑛞' [/entry.js] Invalid Character '𑛟' [/entry.js] Invalid Character '𑛠' [/entry.js] Invalid Character '𑛡' [/entry.js] Invalid Character '𑛢' [/entry.js] Invalid Character '𑛣' [/entry.js] Invalid Character '𑯰' [/entry.js] Invalid Character '𑯱' [/entry.js] Invalid Character '𑯲' [/entry.js] Invalid Character '𑯳' [/entry.js] Invalid Character '𑯴' [/entry.js] Invalid Character '𑯵' [/entry.js] Invalid Character '𑯶' [/entry.js] Invalid Character '𑯷' [/entry.js] Invalid Character '𑯸' [/entry.js] Invalid Character '𑯹' [/entry.js] Invalid Character '𑽚' [/entry.js] Invalid Character '𖄞' [/entry.js] Invalid Character '𖄟' [/entry.js] Invalid Character '𖄠' [/entry.js] Invalid Character '𖄡' [/entry.js] Invalid Character '𖄢' [/entry.js] Invalid Character '𖄣' [/entry.js] Invalid Character '𖄤' [/entry.js] Invalid Character '𖄥' [/entry.js] Invalid Character '𖄦' [/entry.js] Invalid Character '𖄧' [/entry.js] Invalid Character '𖄨' [/entry.js] Invalid Character '𖄩' [/entry.js] Invalid Character '𖄪' [/entry.js] Invalid Character '𖄫' [/entry.js] Invalid Character '𖄬' [/entry.js] Invalid Character '𖄭' [/entry.js] Invalid Character '𖄮' [/entry.js] Invalid Character '𖄯' [/entry.js] Invalid Character '𖄰' [/entry.js] Invalid Character '𖄱' [/entry.js] Invalid Character '𖄲' [/entry.js] Invalid Character '𖄳' [/entry.js] Invalid Character '𖄴' [/entry.js] Invalid Character '𖄵' [/entry.js] Invalid Character '𖄶' [/entry.js] Invalid Character '𖄷' [/entry.js] Invalid Character '𖄸' [/entry.js] Invalid Character '𖄹' [/entry.js] Invalid Character '𖵰' [/entry.js] Invalid Character '𖵱' [/entry.js] Invalid Character '𖵲' [/entry.js] Invalid Character '𖵳' [/entry.js] Invalid Character '𖵴' [/entry.js] Invalid Character '𖵵' [/entry.js] Invalid Character '𖵶' [/entry.js] Invalid Character '𖵷' [/entry.js] Invalid Character '𖵸' [/entry.js] Invalid Character '𖵹' [/entry.js] Invalid Character '𜳰' [/entry.js] Invalid Character '𜳱' [/entry.js] Invalid Character '𜳲' [/entry.js] Invalid Character '𜳳' [/entry.js] Invalid Character '𜳴' [/entry.js] Invalid Character '𜳵' [/entry.js] Invalid Character '𜳶' [/entry.js] Invalid Character '𜳷' [/entry.js] Invalid Character '𜳸' [/entry.js] Invalid Character '𜳹' [/entry.js] Invalid Character '𞗮' [/entry.js] Invalid Character '𞗯' [/entry.js] Invalid Character '𞗱' [/entry.js] Invalid Character '𞗲' [/entry.js] Invalid Character '𞗳' [/entry.js] Invalid Character '𞗴' [/entry.js] Invalid Character '𞗵' [/entry.js] Invalid Character '𞗶' [/entry.js] Invalid Character '𞗷' [/entry.js] Invalid Character '𞗸' [/entry.js] Invalid Character '𞗹' [/entry.js] Invalid Character '𞗺'
language/identifiers/part-unicode-16.0.0-class.js: Expected no error, got Error: [/entry.js] Expected a semicolon or an implicit semicolon after a statement, but found none [/entry.js] Invalid Character 'ࢗ'
language/identifiers/part-unicode-16.0.0-escaped.js: Expected no error, got Error: [/entry.js] Invalid Character 'ࢗ' [/entry.js] Invalid Character '𐵀' [/entry.js] Invalid Character '𐵁' [/entry.js] Invalid Character '𐵂' [/entry.js] Invalid Character '𐵃' [/entry.js] Invalid Character '𐵄' [/entry.js] Invalid Character '𐵅' [/entry.js] Invalid Character '𐵆' [/entry.js] Invalid Character '𐵇' [/entry.js] Invalid Character '𐵈' [/entry.js] Invalid Character '𐵉' [/entry.js] Invalid Character '𐵩' [/entry.js] Invalid Character '𐵪' [/entry.js] Invalid Character '𐵫' [/entry.js] Invalid Character '𐵬' [/entry.js] Invalid Character '𐵭' [/entry.js] Invalid Character '𐻼' [/entry.js] Invalid Character '𑎸' [/entry.js] Invalid Character '𑎹' [/entry.js] Invalid Character '𑎺' [/entry.js] Invalid Character '𑎻' [/entry.js] Invalid Character '𑎼' [/entry.js] Invalid Character '𑎽' [/entry.js] Invalid Character '𑎾' [/entry.js] Invalid Character '𑎿' [/entry.js] Invalid Character '𑏀' [/entry.js] Invalid Character '𑏂' [/entry.js] Invalid Character '𑏅' [/entry.js] Invalid Character '𑏇' [/entry.js] Invalid Character '𑏈' [/entry.js] Invalid Character '𑏉' [/entry.js] Invalid Character '𑏊' [/entry.js] Invalid Character '𑏌' [/entry.js] Invalid Character '𑏍' [/entry.js] Invalid Character '𑏎' [/entry.js] Invalid Character '𑏏' [/entry.js] Invalid Character '𑏐' [/entry.js] Invalid Character '𑏒' [/entry.js] Invalid Character '𑏡' [/entry.js] Invalid Character '𑏢' [/entry.js] Invalid Character '𑛐' [/entry.js] Invalid Character '𑛑' [/entry.js] Invalid Character '𑛒' [/entry.js] Invalid Character '𑛓' [/entry.js] Invalid Character '𑛔' [/entry.js] Invalid Character '𑛕' [/entry.js] Invalid Character '𑛖' [/entry.js] Invalid Character '𑛗' [/entry.js] Invalid Character '𑛘' [/entry.js] Invalid Character '𑛙' [/entry.js] Invalid Character '𑛚' [/entry.js] Invalid Character '𑛛' [/entry.js] Invalid Character '𑛜' [/entry.js] Invalid Character '𑛝' [/entry.js] Invalid Character '𑛞' [/entry.js] Invalid Character '𑛟' [/entry.js] Invalid Character '𑛠' [/entry.js] Invalid Character '𑛡' [/entry.js] Invalid Character '𑛢' [/entry.js] Invalid Character '𑛣' [/entry.js] Invalid Character '𑯰' [/entry.js] Invalid Character '𑯱' [/entry.js] Invalid Character '𑯲' [/entry.js] Invalid Character '𑯳' [/entry.js] Invalid Character '𑯴' [/entry.js] Invalid Character '𑯵' [/entry.js] Invalid Character '𑯶' [/entry.js] Invalid Character '𑯷' [/entry.js] Invalid Character '𑯸' [/entry.js] Invalid Character '𑯹' [/entry.js] Invalid Character '𑽚' [/entry.js] Invalid Character '𖄞' [/entry.js] Invalid Character '𖄟' [/entry.js] Invalid Character '𖄠' [/entry.js] Invalid Character '𖄡' [/entry.js] Invalid Character '𖄢' [/entry.js] Invalid Character '𖄣' [/entry.js] Invalid Character '𖄤' [/entry.js] Invalid Character '𖄥' [/entry.js] Invalid Character '𖄦' [/entry.js] Invalid Character '𖄧' [/entry.js] Invalid Character '𖄨' [/entry.js] Invalid Character '𖄩' [/entry.js] Invalid Character '𖄪' [/entry.js] Invalid Character '𖄫' [/entry.js] Invalid Character '𖄬' [/entry.js] Invalid Character '𖄭' [/entry.js] Invalid Character '𖄮' [/entry.js] Invalid Character '𖄯' [/entry.js] Invalid Character '𖄰' [/entry.js] Invalid Character '𖄱' [/entry.js] Invalid Character '𖄲' [/entry.js] Invalid Character '𖄳' [/entry.js] Invalid Character '𖄴' [/entry.js] Invalid Character '𖄵' [/entry.js] Invalid Character '𖄶' [/entry.js] Invalid Character '𖄷' [/entry.js] Invalid Character '𖄸' [/entry.js] Invalid Character '𖄹' [/entry.js] Invalid Character '𖵰' [/entry.js] Invalid Character '𖵱' [/entry.js] Invalid Character '𖵲' [/entry.js] Invalid Character '𖵳' [/entry.js] Invalid Character '𖵴' [/entry.js] Invalid Character '𖵵' [/entry.js] Invalid Character '𖵶' [/entry.js] Invalid Character '𖵷' [/entry.js] Invalid Character '𖵸' [/entry.js] Invalid Character '𖵹' [/entry.js] Invalid Character '𜳰' [/entry.js] Invalid Character '𜳱' [/entry.js] Invalid Character '𜳲' [/entry.js] Invalid Character '𜳳' [/entry.js] Invalid Character '𜳴' [/entry.js] Invalid Character '𜳵' [/entry.js] Invalid Character '𜳶' [/entry.js] Invalid Character '𜳷' [/entry.js] Invalid Character '𜳸' [/entry.js] Invalid Character '𜳹' [/entry.js] Invalid Character '𞗮' [/entry.js] Invalid Character '𞗯' [/entry.js] Invalid Character '𞗱' [/entry.js] Invalid Character '𞗲' [/entry.js] Invalid Character '𞗳' [/entry.js] Invalid Character '𞗴' [/entry.js] Invalid Character '𞗵' [/entry.js] Invalid Character '𞗶' [/entry.js] Invalid Character '𞗷' [/entry.js] Invalid Character '𞗸' [/entry.js] Invalid Character '𞗹' [/entry.js] Invalid Character '𞗺'
language/identifiers/part-unicode-16.0.0.js: Expected no error, got Error: [/entry.js] Expected a semicolon or an implicit semicolon after a statement, but found none [/entry.js] Invalid Character 'ࢗ'
language/reserved-words/await-script.js: Expected no error, got Error: [/entry.js] Cannot use 'await' as an identifier in an async context
language/expressions/assignment/11.13.1-2-s.js: Expected a TypeError to be thrown but no exception was thrown at all
language/expressions/assignment/11.13.1-1-s.js: Expected a TypeError to be thrown but no exception was thrown at all
language/expressions/assignment/8.14.4-8-b_2.js: Expected a TypeError to be thrown but no exception was thrown at all
language/expressions/assignmenttargettype/simple-basic-identifierreference-await.js: Expected no error, got Error: [/entry.js] Cannot use 'await' as an identifier in an async context [/entry.js] Unexpected token
language/expressions/await/await-BindingIdentifier-in-global.js: Expected no error, got Error: [/entry.js] Cannot use 'await' as an identifier in an async context [/entry.js] Unexpected token
language/expressions/await/await-in-global.js: Expected no error, got Error: [/entry.js] Cannot use 'await' as an identifier in an async context [/entry.js] Unexpected token
language/expressions/await/await-in-nested-function.js: Expected no error, got Error: [/entry.js] Cannot use 'await' as an identifier in an async context [/entry.js] Unexpected token
language/expressions/await/await-in-nested-generator.js: Expected no error, got Error: [/entry.js] Cannot use 'await' as an identifier in an async context [/entry.js] Unexpected token
language/expressions/class/class-name-ident-await-escaped.js: Expected no error, got Error: [/entry.js] Cannot use 'await' as an identifier in an async context
language/expressions/class/class-name-ident-await.js: Expected no error, got Error: [/entry.js] Cannot use 'await' as an identifier in an async context
language/expressions/class/private-setter-brand-check-multiple-evaluations-of-class-factory.js: { message: 'invalid access of c1 private method Expected a TypeError to be thrown but no exception was thrown at all' }
language/expressions/class/scope-name-lex-close.js: Expected no error, got Error: Unresolved identifier reference at 16:12-16:13
language/expressions/class/scope-name-lex-open-heritage.js: Expected no error, got Error: Unresolved identifier reference at 25:41-25:42
language/expressions/class/scope-name-lex-open-no-heritage.js: Expected no error, got Error: Unresolved identifier reference at 27:12-27:13
language/expressions/class/private-static-setter-multiple-evaluations-of-class-factory.js: { message: 'invalid access of C1 private static setter Expected a TypeError to be thrown but no exception was thrown at all' }
language/expressions/class/static-init-await-reference.js: Expected no error, got Error: [/entry.js] Cannot use 'await' as an identifier in an async context
language/expressions/compound-assignment/11.13.2-23-s.js: Expected a TypeError to be thrown but no exception was thrown at all
language/expressions/compound-assignment/11.13.2-25-s.js: Expected a TypeError to be thrown but no exception was thrown at all
language/expressions/compound-assignment/11.13.2-24-s.js: { message: 'Expected a TypeError to be thrown but no exception was thrown at all' }
language/expressions/compound-assignment/11.13.2-28-s.js: Expected a TypeError to be thrown but no exception was thrown at all
language/expressions/compound-assignment/11.13.2-27-s.js: { message: 'Expected a TypeError to be thrown but no exception was thrown at all' }
language/expressions/compound-assignment/11.13.2-33-s.js: Expected a TypeError to be thrown but no exception was thrown at all
language/expressions/compound-assignment/11.13.2-26-s.js: { message: 'Expected a TypeError to be thrown but no exception was thrown at all' }
language/expressions/compound-assignment/11.13.2-31-s.js: Expected a TypeError to be thrown but no exception was thrown at all
language/expressions/compound-assignment/11.13.2-29-s.js: { message: 'Expected a TypeError to be thrown but no exception was thrown at all' }
language/expressions/compound-assignment/11.13.2-30-s.js: Expected a TypeError to be thrown but no exception was thrown at all
language/expressions/compound-assignment/11.13.2-32-s.js: { message: 'Expected a TypeError to be thrown but no exception was thrown at all' }
language/expressions/compound-assignment/11.13.2-36-s.js: Expected a TypeError to be thrown but no exception was thrown at all
language/expressions/compound-assignment/11.13.2-34-s.js: { message: 'Expected a TypeError to be thrown but no exception was thrown at all' }
language/expressions/compound-assignment/11.13.2-35-s.js: Expected a TypeError to be thrown but no exception was thrown at all
language/expressions/compound-assignment/11.13.2-37-s.js: { message: 'Expected a TypeError to be thrown but no exception was thrown at all' }
language/expressions/compound-assignment/11.13.2-38-s.js: Expected a TypeError to be thrown but no exception was thrown at all
language/expressions/compound-assignment/11.13.2-41-s.js: { message: 'Expected a TypeError to be thrown but no exception was thrown at all' }
language/expressions/compound-assignment/11.13.2-40-s.js: Expected a TypeError to be thrown but no exception was thrown at all
language/expressions/compound-assignment/11.13.2-39-s.js: { message: 'Expected a TypeError to be thrown but no exception was thrown at all' }
language/expressions/compound-assignment/11.13.2-42-s.js: Expected a TypeError to be thrown but no exception was thrown at all
language/expressions/compound-assignment/11.13.2-43-s.js: { message: 'Expected a TypeError to be thrown but no exception was thrown at all' }
language/expressions/compound-assignment/11.13.2-44-s.js: Expected a TypeError to be thrown but no exception was thrown at all
language/expressions/function/static-init-await-reference.js: Expected no error, got Error: [/entry.js] Cannot use 'await' as an identifier in an async context
language/expressions/generators/static-init-await-reference.js: Expected no error, got Error: [/entry.js] Cannot use 'await' as an identifier in an async context
language/expressions/logical-assignment/lgcl-nullish-assignment-operator-no-set-put.js: Expected a TypeError to be thrown but no exception was thrown at all
language/expressions/logical-assignment/lgcl-nullish-assignment-operator-non-writeable-put.js: { message: 'Expected a TypeError to be thrown but no exception was thrown at all' }
language/expressions/logical-assignment/lgcl-or-assignment-operator-no-set-put.js: Expected a TypeError to be thrown but no exception was thrown at all
language/expressions/logical-assignment/lgcl-or-assignment-operator-non-writeable-put.js: Expected a TypeError to be thrown but no exception was thrown at all
language/expressions/super/prop-poisoned-underscore-proto.js: Expected no error, got Error: Unsupported reference to 'super' at 27:12-27:17
language/module-code/top-level-await/new-await-script-code.js: Expected no error, got Error: [/entry.js] Cannot use 'await' as an identifier in an async context [/entry.js] Unexpected token
language/statements/async-function/evaluation-default-that-throws.js: Expected no error, got Error: Cannot call a non-function object Null at 15:24-15:27
language/statements/class/class-name-ident-await-escaped.js: Expected no error, got Error: [/entry.js] Cannot use 'await' as an identifier in an async context
language/statements/class/class-name-ident-await.js: Expected no error, got Error: [/entry.js] Cannot use 'await' as an identifier in an async context
language/statements/const/global-use-before-initialization-in-declaration-statement.js: Expected test to throw error of type ReferenceError, got Error: Cannot access variable before initialization at 12:11-12:12
language/statements/for-of/body-put-error.js: Test timed out
language/statements/function/13.2-19-b-3gs.js: Expected a TypeError to be thrown but no exception was thrown at all
language/statements/labeled/value-await-non-module-escaped.js: Expected no error, got Error: [/entry.js] Keywords cannot contain escape characters [/entry.js] Unexpected token
language/statements/labeled/value-await-non-module.js: Expected no error, got Error: [/entry.js] Unexpected token
language/statements/let/global-use-before-initialization-in-declaration-statement.js: Expected test to throw error of type ReferenceError, got Error: Cannot access variable before initialization at 12:9-12:10
language/types/reference/8.7.2-4-s.js: Expected a TypeError to be thrown but no exception was thrown at all
language/types/reference/8.7.2-3-s.js: { message: 'Expected a TypeError to be thrown but no exception was thrown at all' }
language/expressions/assignment/dstr/array-elem-put-prop-ref-user-err.js: Expected a Test262Error to be thrown but no exception was thrown at all
language/expressions/assignment/dstr/array-rest-put-prop-ref-user-err-iter-close-skip.js: Expected a Test262Error to be thrown but no exception was thrown at all
language/expressions/assignment/dstr/array-rest-put-prop-ref-user-err.js: { message: 'Expected a Test262Error to be thrown but no exception was thrown at all' }
language/expressions/assignment/dstr/obj-prop-put-prop-ref-user-err.js: { message: 'Expected a Test262Error to be thrown but no exception was thrown at all' }
language/expressions/class/elements/private-method-shadowed-by-getter-on-nested-class.js: Expected no error, got var: C=class{a(){return this.#m()}a=class{method(o){return o.#m}get#m(){return'test262'}}};let c=new C,innerB=new c.a;assert.sameValue('test262','test262'),assert.sameValue('outer class','outer class'),assert.throws(TypeError,function(){},'accessed inner class getter from an object of outer class'),assert.throws(TypeError,function(){C.prototype.a.call(innerB)});
language/expressions/class/elements/private-setter-shadowed-by-setter-on-nested-class.js: access of inner class accessor from an object of outer class Expected a TypeError to be thrown but no exception was thrown at all
language/expressions/class/elements/private-setter-shadowed-by-method-on-nested-class.js: { message: 'invalid [[Set]] operation in a private method Expected a TypeError to be thrown but no exception was thrown at all' }
language/expressions/class/elements/private-setter-shadowed-by-getter-on-nested-class.js: invalid [[Set]] of an acessor without setter Expected a TypeError to be thrown but no exception was thrown at all
language/expressions/class/elements/private-static-field-shadowed-by-setter-on-nested-class.js: accessed private setter from an arbritary object Expected a TypeError to be thrown but no exception was thrown at all
language/expressions/class/elements/private-static-method-shadowed-by-setter-on-nested-class.js: { message: 'accessed private setter from an arbritary object Expected a TypeError to be thrown but no exception was thrown at all' }
language/expressions/dynamic-import/assignment-expression/await-identifier.js: Expected no error, got Error: [/entry.js] Cannot use 'await' as an identifier in an async context
language/expressions/object/method-definition/generator-super-prop-body.js: Expected no error, got Error: Unsupported reference to 'super' at 17:12-17:17
language/expressions/object/method-definition/name-super-prop-body.js: Expected no error, got Error: Unsupported reference to 'super' at 13:12-13:17
language/expressions/object/method-definition/static-init-await-reference-accessor.js: Expected no error, got Error: [/entry.js] Cannot use 'await' as an identifier in an async context
language/expressions/object/method-definition/static-init-await-reference-generator.js: Expected no error, got Error: [/entry.js] Cannot use 'await' as an identifier in an async context
language/expressions/object/method-definition/static-init-await-reference-normal.js: Expected no error, got Error: [/entry.js] Cannot use 'await' as an identifier in an async context
language/statements/class/elements/private-method-not-writable.js: Expected a TypeError to be thrown but no exception was thrown at all
language/statements/class/elements/private-method-shadowed-by-getter-on-nested-class.js: Expected no error, got class: C{a(){return this.#m()}a=class{method(o){return o.#m}get#m(){return'test262'}}}let c=new C,innerB=new c.a;assert.sameValue('test262','test262'),assert.sameValue('outer class','outer class'),assert.throws(TypeError,function(){},'accessed inner class getter from an object of outer class'),assert.throws(TypeError,function(){C.prototype.a.call(innerB)});
language/statements/class/elements/private-setter-brand-check-multiple-evaluations-of-class.js: { message: 'invalid access of c1 private method Expected a TypeError to be thrown but no exception was thrown at all' }
language/statements/class/elements/private-setter-shadowed-by-method-on-nested-class.js: invalid [[Set]] operation in a private method Expected a TypeError to be thrown but no exception was thrown at all
language/statements/class/elements/private-setter-shadowed-by-setter-on-nested-class.js: { message: 'access of inner class accessor from an object of outer class Expected a TypeError to be thrown but no exception was thrown at all' }
language/statements/class/elements/private-setter-shadowed-by-getter-on-nested-class.js: invalid [[Set]] of an acessor without setter Expected a TypeError to be thrown but no exception was thrown at all
language/statements/class/elements/private-static-field-shadowed-by-setter-on-nested-class.js: { message: 'accessed private setter from an arbritary object Expected a TypeError to be thrown but no exception was thrown at all' }
language/statements/class/elements/private-static-method-not-writable.js: { message: 'Expected a TypeError to be thrown but no exception was thrown at all' }
language/statements/class/elements/private-static-method-shadowed-by-setter-on-nested-class.js: accessed private setter from an arbritary object Expected a TypeError to be thrown but no exception was thrown at all
language/statements/class/elements/private-static-setter-abrupt-completition.js: Expected no error, got class: C{set#a(__unused_4104){throw new Test262Error}b(){this.#m='Test262'}}let c=new C;assert.throws(Test262Error,function(){c.b()},'private setter should have abrupt completion');
language/statements/class/elements/privatefieldset-typeerror-5.js: { message: 'Expected a TypeError to be thrown but no exception was thrown at all' }
language/statements/class/elements/set-access-of-missing-private-setter.js: { message: 'set operation on private accessor without setter should throw TypeError Expected a TypeError to be thrown but no exception was thrown at all' }
language/statements/class/elements/set-access-of-missing-private-static-setter.js: set operation on private accessor without setter should throw TypeError Expected a TypeError to be thrown but no exception was thrown at all
language/statements/class/elements/set-access-of-missing-shadowed-private-setter.js: Expected no error, got class: A{set#a(__unused_7697){throw new Test262Error}}class B extends A{a(){this.#f='Test262'}}let b=new B;assert.throws(TypeError,function(){b.a()},'subclass private accessor should shadow super class private accessor'),assert.throws(TypeError,function(){},'inner class private accessor should shadow outer class private accessor'),assert.throws(TypeError,function(){},'inner class private accessor should not be visible to outer class private accessor');
language/statements/class/elements/set-access-of-shadowed-private-method.js: Expected no error, got class: A{set#a(__unused_7697){throw new Test262Error}}class B extends A{a(){this.#f='Test262'}}let b=new B;assert.throws(TypeError,function(){b.a()},'subclass private method should shadow super class private accessor'),assert.throws(TypeError,function(){},'inner class private method should shadow outer class private accessor'),assert.throws(TypeError,function(){},'inner class private accessor should not be visible to outer class');
language/statements/class/elements/set-access-of-private-method.js: set operation on private method should throw TypeError Expected a TypeError to be thrown but no exception was thrown at all
language/statements/class/super/in-static-setter.js: Expected no error, got Error: Cannot call a non-function object Undefined at 20:22-20:36
language/statements/class/syntax/class-body-method-definition-super-property.js: Expected no error, got Error: Cannot get property of null or undefined at 10:5-10:10

@kermanx kermanx changed the title test: refactor test262 and disallow top-level throw ci(test): update test262 ci Mar 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants