Searched full:label5 (Results 1 – 25 of 39) sorted by relevance
12
| /arkcompiler/ets_frontend/ets2panda/test/ast/parser/ets/ |
| D | ambient_indexer_7.ets | 20 /* @@ label3 */function main/* @@ label5 */() { 28 /* @@@ label5 Error TypeError: Native and Declare methods should have explicit return type. */
|
| D | ambient_indexer_8.ets | 30 /* @@@ label5 Error SyntaxError: Expected '}', got 'end of stream'. */ 31 /* @@ label5 */
|
| D | labeled.ets | 21 L4: /* @@ label3 */L5: /* @@ label4 */L6: /* @@ label5 */this.a += 1; 31 /* @@@ label5 Error SyntaxError: Label must be followed by a loop statement. */
|
| D | keyof_parameter.ets | 28 /* @@ label5 */getProperty(a, /* @@ label6 */1); 35 /* @@@ label5 Error TypeError: No matching call signature for getProperty(A, int) */
|
| D | keyof_applied_to_other.ets | 30 type keyofFunction = keyof /* @@ label4 */foo/* @@ label5 */; 39 /* @@@ label5 Error TypeError: The `keyof` keyword can only be used for class or interface type. */
|
| D | keyof_union.ets | 33 /* @@ label5 */getProperty<keyofA>(/* @@ label6 */"other field") 40 /* @@@ label5 Error TypeError: No matching call signature for getProperty("other field") */
|
| D | unexpected_token_56.ets | 16 for await (/* @@ label1 */;/* @@ label2 */;/* @@ label3 */i < /* @@ label4 */count/* @@ label5 */; … 25 /* @@@ label5 Error SyntaxError: Expected ')', got ';'. */
|
| D | keyof_annotation.ets | 40 let y5:keyof B = /* @@ label5 */"other method"; 48 /* @@@ label5 Error TypeError: Type '"other method"' cannot be assigned to type '"bmethod1"|"bfield…
|
| D | keyof_private_and_protected.ets | 43 let c9:keyof B = /* @@ label5 */"bfield2" 53 /* @@@ label5 Error TypeError: Type '"bfield2"' cannot be assigned to type '"bfoo"|"bfield1"|"foo"|…
|
| /arkcompiler/ets_frontend/ets2panda/test/ast/parser/ts/ |
| D | unexpected_token_17.ts | 17 console/* @@ label5 */.log(/* @@ label6 */"hehe") 26 /* @@@ label5 Error SyntaxError: Unexpected token, expected ';'. */
|
| /arkcompiler/ets_frontend/ets2panda/test/ast/compiler/ets/ |
| D | variance_typeparam_class.ets | 47 paramsFunc1(a:/* @@ label5 */B<T1,T2,T3>){} //CTE 60 /* @@@ label5 Error TypeError: Type Parameter 'T1' is declared as 'in' but occurs in 'out' position… 61 /* @@@ label5 Error TypeError: Type Parameter 'T2' is declared as 'out' but occurs in 'in' position…
|
| D | variance_typeparam_transmit.ets | 30 readonly readonlyfield11:/* @@ label5 */B<T2>; //CTE 38 /* @@@ label5 Error TypeError: Type Parameter 'T2' is declared as 'out' but occurs in 'invariant' p…
|
| D | objectLiteral_abstract_class.ets | 38 let x5:C3 = /* @@ label5 */{field1:1000, field2:"some str"}; 45 /* @@@ label5 Error TypeError: Signature constructor(): void is not visible here. */
|
| D | absent_return_statement.ets | 36 foo2(() => /* @@ label5 */new C()); 44 /* @@@ label5 Error TypeError: Type 'C' is not compatible with the enclosing method's return type '…
|
| D | variance_typeparam.ets | 37 paramsFunc2(a:/* @@ label5 */T2){} //CTE 49 /* @@@ label5 Error TypeError: Type Parameter 'T2' is declared as 'out' but occurs in 'in' position…
|
| D | variance_typeparam_tuple.ets | 24 returnTypeFunc1():/* @@ label5 */[number,T1,string]{ //CTE 45 /* @@@ label5 Error TypeError: Type Parameter 'T1' is declared as 'in' but occurs in 'invariant' po…
|
| D | unionCommonMember_neg.ets | 48 assertEQ(/* @@ label5 */u.fld5, 42.0) 58 /* @@@ label5 Error TypeError: Member type must be the same for all union objects. */
|
| D | variance_typeparam_lambda.ets | 21 readonly readonlyfield2:/* @@ label5 */(a:/* @@ label6 */T2)=>T1; //CTE 49 /* @@@ label5 Error TypeError: Type Parameter 'T1' is declared as 'in' but occurs in 'out' position…
|
| D | variance_typeparam_array.ets | 24 returnTypeFunc1():T1/* @@ label5 */[]{ //CTE 49 /* @@@ label5 Error TypeError: Type Parameter 'T1' is declared as 'in' but occurs in 'invariant' po…
|
| /arkcompiler/ets_frontend/ets2panda/test/ast/compiler/ets/FixedArray/annotation_tests/ |
| D | ambient_annotations_bad_type02.ets | 22 /* @@ label5 */favorColor: Color 39 /* @@@ label5 Error TypeError: Initializer for field 'favorColor' does not match the expected defin…
|
| /arkcompiler/ets_frontend/ets2panda/test/ast/compiler/ets/annotation_tests/ |
| D | ambient_annotations_bad_type02.ets | 22 /* @@ label5 */favorColor: Color 39 /* @@@ label5 Error TypeError: Initializer for field 'favorColor' does not match the expected defin…
|
| /arkcompiler/ets_frontend/ets2panda/test/ast/parser/js/ |
| D | trailing_comma_1.js | 34 foo(/* @@ label5 */,a[0]) 44 /* @@@ label5 Error SyntaxError: Unexpected token ','. */
|
| /arkcompiler/ets_frontend/ets2panda/test/ast/parser/ets/readonly-parameter-test/ |
| D | readonly-parameter-and-Readonly-test2.ets | 25 /* @@ label5 */y[1] = 'a' 47 /* @@@ label5 Error TypeError: Cannot modify an array or tuple content that has the readonly parame…
|
| /arkcompiler/ets_frontend/ets2panda/test/ast/compiler/ets/FixedArray/ |
| D | unionCommonMember_neg.ets | 48 assertEQ(/* @@ label5 */u.fld5, 42.0) 58 /* @@@ label5 Error TypeError: Member type must be the same for all union objects. */
|
| D | variance_typeparam_array.ets | 24 returnTypeFunc1():T1/* @@ label5 */[]{ //CTE 49 /* @@@ label5 Error TypeError: Type Parameter 'T1' is declared as 'in' but occurs in 'invariant' po…
|
12