| /arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/02.lexical_elements/09.literals/03.bigint_literals/ |
| D | bigint_func_n.params.yaml | 17 - 'BigInt(123 as byte) // wrong argument type' 18 - 'BigInt(new Int(1)) // wrong argument type' 19 - 'BigInt(new Object()) // wrong argument type' 20 - 'BigInt(null) // wrong argument type' 23 - 'BigInt.asIntN(1n, 0n) // wrong 1st argument type' 24 - 'BigInt.asIntN("5", 12345n) // wrong 1st argument type' 25 - 'BigInt.asIntN(32, 0 as byte) // wrong 2nd argument type' 26 - 'BigInt.asIntN(32, 12345) // wrong 2nd argument type' 29 - 'BigInt.asUintN(1n, 0n) // wrong 1st argument type' 30 - 'BigInt.asUintN("5", 12345n) // wrong 1st argument type' [all …]
|
| /arkcompiler/runtime_core/static_core/plugins/ets/tests/checked/ |
| D | string_test.sts | 32 assert str2.charAt(0) == c'a': "Wrong str2.charAt(0)"; 33 assert str2.charAt(1) == c'B': "Wrong str2.charAt(1)"; 34 assert str2.charAt(2) == c'C': "Wrong str2.charAt(2)"; 35 assert str2.charAt(8) == c'z': "Wrong str2.charAt(8)"; 36 assert str2.charAt(8) != c'Z': "Wrong str2.charAt(8): invalid character case"; 39 assert str3.charAt(0) == c'a': "Wrong str3.charAt(0)"; 40 assert str3.charAt(1) == c'B': "Wrong str3.charAt(1)"; 41 assert str3.charAt(2) == c'C': "Wrong str3.charAt(2)"; 42 assert str3.charAt(8) == c'z': "Wrong str3.charAt(8)"; 43 assert str3.charAt(8) != c'Z': "Wrong str3.charAt(8): invalid character case";
|
| D | charAt.sts | 24 assert str.charAt(0) == c'a': "Wrong str.charAt(0)"; 25 assert str.charAt(1) == c'B': "Wrong str.charAt(1)"; 26 assert str.charAt(2) == c'C': "Wrong str.charAt(2)"; 27 assert str.charAt(3) == c'd': "Wrong str.charAt(3)";
|
| D | ets_string_builder_reserve.sts | 1128 assert reserve0() == "": "Wrong result at reserve0"; 1129 assert reserve1() == "0": "Wrong result at reserve1"; 1130 assert reserve2() == "01": "Wrong result at reserve2"; 1131 assert loop_reserve3() == "012": "Wrong result at loop_reserve3"; 1132 assert loop_reserve4() == "0123": "Wrong result at loop_reserve4"; 1133 assert loop_reserve5() == "01234": "Wrong result at loop_reserve5"; 1134 assert nested_loop_reserve6() == "012345678910111213": "Wrong result at nested_loop_reserve6"; 1135 assert if_reserve7(true) == "0": "Wrong result at if_reserve7"; 1136 assert if_reserve8(true) == "0123": "Wrong result at if_reserve8"; 1137 assert if_loop_reserve9(true) == "012345": "Wrong result at if_loop_reserve9"; [all …]
|
| D | ets_string_concat_func.sts | 187 assert concat0("abcde") == "abcde": "Wrong result at concat0"; 188 assert concat1("abcd", "e") == "abcde": "Wrong result at concat1"; 189 assert concat2("abc", "d", "e") == "abcde": "Wrong result at concat2"; 190 assert concat3("ab", "c", "d", "e") == "abcde": "Wrong result at concat3"; 191 assert concat4("a", "b", "c", "d", "e") == "abcde": "Wrong result at concat4"; 192 assert concat5("", "a", "b", "c", "d", "e") == "abcde": "Wrong result at concat5"; 193 assert concat6() == "abcde": "Wrong result at concat6"; 194 assert concat7() == "abcde": "Wrong result at concat7"; 195 assert concat8("ab", "c", "d", "e") == "abcde": "Wrong result at concat8";
|
| D | ets_string_concat.sts | 493 assert concat0("abc", "de") == "abcde": "Wrong result at concat0"; 494 assert concat1("abc", "de") == "abcde": "Wrong result at concat1"; 495 assert concat2("abc", "de") == "abcde": "Wrong result at concat2"; 496 assert concat3("abc", "de") == "abcde": "Wrong result at concat3"; 497 assert concat4("ab", "c", "de") == "abcde": "Wrong result at concat4"; 498 assert concat5("ab", "c", "d", "e") == "abcde": "Wrong result at concat5"; 500 // assert concat6("ab", "c", "d", "e") == "abcde": "Wrong result at concat6"; 502 assert concat7("ab", "c", "d", "e") == "abcde": "Wrong result at concat7"; 503 assert concat8("abc", "de") == "abcde": "Wrong result at concat8"; 504 assert concat9("abc", "de") == "abcde": "Wrong result at concat9"; [all …]
|
| D | ets_stringbuilder.sts | 447 assert toString0("abcde") == "abcde": "Wrong at toString0"; 448 assert toString1("abcde") == "abcde": "Wrong at toString1"; 449 assert toString2("abcde") == "abcde1": "Wrong at toString2"; 450 assert toString3("abcde") == "abcde": "Wrong at toString3"; 451 assert toString4("abcde") == "abcde": "Wrong at toString4"; 452 assert toString5("abcde") == "abcde": "Wrong at toString5"; 453 assert toString6("abcde") == "abcde": "Wrong at toString6"; 454 assert toString7("abcde") == "abcde": "Wrong at toString7"; 455 assert toString8("abcde") == "abcde1": "Wrong at toString8"; 456 assert toString9("abcde") == "abcde1": "Wrong at toString9"; [all …]
|
| /arkcompiler/toolchain/tooling/base/ |
| D | pt_params.cpp | 30 error += "Wrong type of 'maxScriptsCacheSize';"; in Create() 54 error += "Unknown or wrong type of 'callFrameId';"; in Create() 61 error += "Unknown or wrong type of 'expression';"; in Create() 68 error += "Wrong type of 'objectGroup';"; in Create() 75 error += "Wrong type of 'includeCommandLineAPI';"; in Create() 82 error += "Wrong type of 'silent';"; in Create() 89 error += "Wrong type of 'returnByValue';"; in Create() 96 error += "Wrong type of 'generatePreview';"; in Create() 103 error += "Wrong type of 'throwOnSideEffect';"; in Create() 129 error += "Unknown or wrong type of 'location';"; in Create() [all …]
|
| D | pt_types.cpp | 1015 error += "Unknown or wrong type of 'type';"; in Create() 1027 error += "Wrong type of 'subtype';"; in Create() 1035 error += "Wrong type of 'className';"; in Create() 1043 error += "Wrong type of 'unserializableValue';"; in Create() 1051 error += "Wrong type of 'description';"; in Create() 1061 error += "Wrong type of 'objectId';"; in Create() 1107 error += "Unknown or wrong type of 'exceptionId';"; in Create() 1115 error += "Unknown or wrong type of 'text';"; in Create() 1123 error += "Unknown or wrong type of 'lineNumber';"; in Create() 1131 error += "Unknown or wrong type of 'columnNumber';"; in Create() [all …]
|
| /arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/03.types/08.reference_types/10.tuple_types/ |
| D | tt_n.params.yaml | 24 assert e[2] == true // wrong index 28 assert e[-1] == true // wrong index 66 let e: [number] = ["A"] // wrong type 69 let e: [boolean] = ["A"] // wrong type 72 let e: [char] = [true] // wrong type 75 let e: [Error] = [new Object()] // wrong type 79 let t: [number, number, number] = v // wrong type 83 let p: [boolean] = t as [boolean] // wrong cast
|
| /arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/04.names_declarations_and_scopes/07.variable_and_constant_declarations/01.variable_declarations/ |
| D | incorrect_var_decl.params.yaml | 18 - 'let x:int = new Object(); // Wrong type' 19 - 'let x:Object|null = 1; // Wrong type' 20 - 'const v:Object|null = null; let x:Object = v; // Wrong type' 21 - 'let x = "true", y:boolean = x; // Wrong type' 22 - 'let y:boolean = new Object(); // Wrong type'
|
| /arkcompiler/runtime_core/static_core/plugins/ets/tests/napi/sampler/ |
| D | SamplerNapiTest.sts | 22 // throw new Exception("ERROR: CallNativeSlowFunction worked wrong"); 28 // throw new Exception("ERROR: CallNativeFastFunction worked wrong"); 34 // throw new Exception("ERROR: CallNativeNAPISlowFunction worked wrong"); 40 // throw new Exception("ERROR: CallNativeNAPIFastFunction worked wrong"); 54 // throw new Exception("ERROR: CallNativeSlowFunction worked wrong"); 60 // throw new Exception("ERROR: CallNativeFastFunction worked wrong"); 66 // throw new Exception("ERROR: CallNativeNAPISlowFunction worked wrong"); 72 // throw new Exception("ERROR: CallNativeNAPIFastFunction worked wrong");
|
| /arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/05.generics/02.generic_instantiations/02.type_arguments/type_arguments_of_parameterized_declarations/ |
| D | constr_args1_neg.params.yaml | 27 let v: A = new <X> A(new X()) // wrong bound 31 let v: A = new <X|null> A(null) // wrong bound 39 let v: A = new <J|null> A(null) // wrong bound 44 let v: A = new <X[]> A(new Object[0]) // wrong array type 47 let v: A = new <X[]> A(new X[0]) // wrong bound 55 let v: A = new <X[]|null> A(null) // wrong bound 68 let v: A = new <B> A(new X[0]) // wrong bound
|
| /arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/07.expressions/04.array_literal/01.type_inference_from_context/ |
| D | arr_inf_n.params.yaml | 17 let a: number[] = ["a", "b"] // wrong types 20 let a: int[] = [true] // wrong type 23 let a: string[] = ["a", null] // wrong type
|
| /arkcompiler/ets_frontend/ets2panda/test/tsconfig/extends/node_modules/package/ |
| D | tsconfig-base-base.json | 3 "outDir": "wrong-out", 4 "rootDir": "wrong-root"
|
| /arkcompiler/runtime_core/tests/checked/verify_aot_tests/ |
| D | verify_aot_test.pa | 36 #! CHECKER Wrong AOT file with cha 42 #! CHECKER Wrong AOT file without cha 48 #! CHECKER Wrong path to AOT file with cha 54 #! CHECKER Wrong path to AOT file without cha 60 #! CHECKER Wrong path to boot panda files 71 #! CHECKER Wrong file in boot-locations 75 #! CHECKER Wrong numbers of files in boot-locations
|
| /arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/07.expressions/05.object_literal/03.object_literal_of_record_type/ |
| D | re_n.params.yaml | 38 } // CTE, wrong key type 44 } // CTE, wrong key type 50 } // CTE, wrong value type 64 let b = a["a"] // CTE, wrong key type
|
| /arkcompiler/runtime_core/static_core/verification/ |
| D | messages.yaml | 155 ${reg} is of wrong type: '${reg_type}'. Expected a subtype of one from ${target_types}. 178 Wrong array element type '${type}'. Expected a subtype of '${expected_type}'. 184 Wrong type of array elements '${type}'. Expected '${expected_type}'. 190 Wrong type of array elements '${type}'. Expected one of ${expected_types}. 236 Wrong return value type (in accumulator): '${acc_type}' 242 … Wrong return value type (in accumulator): '${acc_type}'. Expected a subtype of '${expected_type}'. 261 Wrong type for 'checkcast'. It is a non-object type '${type}'. 307 Wrong type for 'isinstance'. It is a non-object/non-array type '${type}'. 384 Cannot make a call to '${name}' because of wrong type in register v${reg_idx}. 390 …Cannot make a call to '${name}' because of wrong type in actual parameter. Actual type: '${actual_… [all …]
|
| /arkcompiler/runtime_core/static_core/tests/checked/verify_aot_tests/ |
| D | verify_aot_test.pa | 36 #! CHECKER Wrong AOT file with cha 42 #! CHECKER Wrong AOT file without cha 48 #! CHECKER Wrong path to AOT file with cha 54 #! CHECKER Wrong path to AOT file without cha 60 #! CHECKER Wrong path to boot panda files 71 #! CHECKER Wrong file in boot-locations 75 #! CHECKER Wrong numbers of files in boot-locations 86 #! CHECKER Wrong AOT file with relative path
|
| /arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/11.enumerations/01.enumeration_integer_values/ |
| D | enum_int_n.params.yaml | 27 enum Enum { first = 1.0, second, third } // wrong init type 32 enum Enum { first = 10e1, second, third } // wrong init type 37 enum Enum { first = true, second = false } // wrong init type 52 let v: Enum2 = Enum1.first // wrong type
|
| /arkcompiler/runtime_core/static_core/plugins/ets/stdlib/escompat/ |
| D | DataView.sts | 115 throw new RangeError("wrong index") 133 throw new RangeError("wrong index") 183 throw new RangeError("wrong index") 201 throw new RangeError("wrong index") 287 throw new RangeError("wrong index") 305 throw new RangeError("wrong index") 320 throw new RangeError("wrong index") 338 throw new RangeError("wrong index") 424 throw new RangeError("wrong index") 442 throw new RangeError("wrong index") [all …]
|
| /arkcompiler/runtime_core/static_core/plugins/ets/tests/runtime/tooling/sampler/ |
| D | SamplerTest.sts | 35 console.println("Pi calculation went wrong") 40 console.println("Pi calculation went wrong") 45 console.println("Pi calculation went wrong") 50 console.println("Pi calculation went wrong")
|
| /arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/17.experimental_features/06.statements/01.for-of_type_annotation/ |
| D | for_of_n.params.yaml | 36 // wrong expr type 42 // wrong expr type 48 // wrong var type
|
| /arkcompiler/runtime_core/static_core/plugins/ets/tests/interop_js/tests/test_frontend/ |
| D | test_frontend_package.sts | 31 // this call is needed to fill dynamic call cache with wrong signature 38 // this call is needed to fill dynamic call cache with wrong signature
|
| /arkcompiler/ets_runtime/test/moduletest/asyncgenerator/ |
| D | asyncgeneratorthrow.js | 35 it.throw(new Error('async generator wrong')) // async generator wrong
|