Home
last modified time | relevance | path

Searched refs:TypeError (Results 1 – 25 of 632) sorted by relevance

12345678910>>...26

/arkcompiler/ets_runtime/test/typeinfer/automatedcases/
DassertionTypePredicates2.ts37 AssertType((a) => { if (/** @type { B } */ (a).y !== 0) throw TypeError(); return undefined;}…
39 if (/** @type { B } */ (a).y !== 0) throw TypeError();
45 AssertType(TypeError(), "TypeError");
46 AssertType(TypeError, "TypeErrorConstructor");
/arkcompiler/ets_runtime/test/moduletest/intl/
Dintl.js26 print(err instanceof TypeError);
33 print(err instanceof TypeError);
/arkcompiler/ets_runtime/test/moduletest/weakcollectionswithsymbol/
Dexpect_output.txt15 TypeError
26 TypeError
35 TypeError
52 TypeError
/arkcompiler/ets_runtime/test/moduletest/trycatch/
Dexpect_output.txt14 TypeError
15 TypeError
/arkcompiler/ets_runtime/test/moduletest/forin/
Dforin.js113 print(err instanceof TypeError);
127 print(err instanceof TypeError);
/arkcompiler/ets_runtime/test/moduletest/dynamicimport/
Dthrowerror.js16 throw new TypeError();
/arkcompiler/ets_runtime/test/aottest/vtable/special_object/
Dspecial_object.ts50 print(e instanceof TypeError);
/arkcompiler/ets_runtime/test/aottest/aot_type_test/typenewsuper/
Dtypenewsuper.ts40 throw TypeError("type error");
/arkcompiler/ets_runtime/test/aottest/vtable/level_check/
Dlevel_check.ts50 print(e instanceof TypeError);
/arkcompiler/ets_frontend/es2panda/test/parser/ts/type_checker/
DvarRedeclaration10-expected.txt43 TypeError: Cannot find name a [varRedeclaration10.ts:22:1]
DvarRedeclaration8-expected.txt43 TypeError: Cannot find name a [varRedeclaration8.ts:24:1]
DvarRedeclaration7-expected.txt43 TypeError: Cannot find name a [varRedeclaration7.ts:22:1]
DvarRedeclaration5-expected.txt43 TypeError: Cannot find name a [varRedeclaration5.ts:22:1]
DarrayDestructuring32-expected.txt86 TypeError: Tuple type [] of length 0 has no element at index 0. [arrayDestructuring32.ts:17:1]
DtupleAssignability14-expected.txt87 TypeError: Type 'number' is not assignable to type '[]'. [tupleAssignability14.ts:17:5]
DarrayDestructuring1-expected.txt88 TypeError: Tuple type [] of length 0 has no element at index 0. [arrayDestructuring1.ts:17:5]
Dassignment_never-expected.txt86 TypeError: Type 'null' is not assignable to type 'never'. [assignment_never.ts:17:5]
Dfunction_declaration_11-expected.txt87 TypeError: A function returning 'never' cannot have a reachable end point. [function_declaration_11…
Dfunction_declaration_6-expected.txt87 TypeError: A function whose declared type is neither 'void' nor 'any' must return a value. [functio…
Dfunction_declaration_1-expected.txt87 TypeError: A function whose declared type is neither 'void' nor 'any' must return a value. [functio…
DtupleAssignability1-expected.txt102 TypeError: Type '[1]' is not assignable to type '[]'. [tupleAssignability1.ts:17:5]
Dfunction_declaration_4-expected.txt87 TypeError: A function whose declared type is neither 'void' nor 'any' must return a value. [functio…
Dfunction_declaration_9-expected.txt87 TypeError: A function whose declared type is neither 'void' nor 'any' must return a value. [functio…
/arkcompiler/ets_runtime/test/moduletest/errorcause/
Derrorcause.js28 TypeError,
/arkcompiler/ets_runtime/test/moduletest/errorhelper/
Dexpect_output.txt14 TypeError

12345678910>>...26