Home
last modified time | relevance | path

Searched full:label5 (Results 1 – 25 of 39) sorted by relevance

12

/arkcompiler/ets_frontend/ets2panda/test/ast/parser/ets/
Dambient_indexer_7.ets20 /* @@ label3 */function main/* @@ label5 */() {
28 /* @@@ label5 Error TypeError: Native and Declare methods should have explicit return type. */
Dambient_indexer_8.ets30 /* @@@ label5 Error SyntaxError: Expected '}', got 'end of stream'. */
31 /* @@ label5 */
Dlabeled.ets21 L4: /* @@ label3 */L5: /* @@ label4 */L6: /* @@ label5 */this.a += 1;
31 /* @@@ label5 Error SyntaxError: Label must be followed by a loop statement. */
Dkeyof_parameter.ets28 /* @@ label5 */getProperty(a, /* @@ label6 */1);
35 /* @@@ label5 Error TypeError: No matching call signature for getProperty(A, int) */
Dkeyof_applied_to_other.ets30 type keyofFunction = keyof /* @@ label4 */foo/* @@ label5 */;
39 /* @@@ label5 Error TypeError: The `keyof` keyword can only be used for class or interface type. */
Dkeyof_union.ets33 /* @@ label5 */getProperty<keyofA>(/* @@ label6 */"other field")
40 /* @@@ label5 Error TypeError: No matching call signature for getProperty("other field") */
Dunexpected_token_56.ets16 for await (/* @@ label1 */;/* @@ label2 */;/* @@ label3 */i < /* @@ label4 */count/* @@ label5 */; …
25 /* @@@ label5 Error SyntaxError: Expected ')', got ';'. */
Dkeyof_annotation.ets40 let y5:keyof B = /* @@ label5 */"other method";
48 /* @@@ label5 Error TypeError: Type '"other method"' cannot be assigned to type '"bmethod1"|"bfield…
Dkeyof_private_and_protected.ets43 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/
Dunexpected_token_17.ts17 console/* @@ label5 */.log(/* @@ label6 */"hehe")
26 /* @@@ label5 Error SyntaxError: Unexpected token, expected ';'. */
/arkcompiler/ets_frontend/ets2panda/test/ast/compiler/ets/
Dvariance_typeparam_class.ets47 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…
Dvariance_typeparam_transmit.ets30 readonly readonlyfield11:/* @@ label5 */B<T2>; //CTE
38 /* @@@ label5 Error TypeError: Type Parameter 'T2' is declared as 'out' but occurs in 'invariant' p…
DobjectLiteral_abstract_class.ets38 let x5:C3 = /* @@ label5 */{field1:1000, field2:"some str"};
45 /* @@@ label5 Error TypeError: Signature constructor(): void is not visible here. */
Dabsent_return_statement.ets36 foo2(() => /* @@ label5 */new C());
44 /* @@@ label5 Error TypeError: Type 'C' is not compatible with the enclosing method's return type '…
Dvariance_typeparam.ets37 paramsFunc2(a:/* @@ label5 */T2){} //CTE
49 /* @@@ label5 Error TypeError: Type Parameter 'T2' is declared as 'out' but occurs in 'in' position…
Dvariance_typeparam_tuple.ets24 returnTypeFunc1():/* @@ label5 */[number,T1,string]{ //CTE
45 /* @@@ label5 Error TypeError: Type Parameter 'T1' is declared as 'in' but occurs in 'invariant' po…
DunionCommonMember_neg.ets48 assertEQ(/* @@ label5 */u.fld5, 42.0)
58 /* @@@ label5 Error TypeError: Member type must be the same for all union objects. */
Dvariance_typeparam_lambda.ets21 readonly readonlyfield2:/* @@ label5 */(a:/* @@ label6 */T2)=>T1; //CTE
49 /* @@@ label5 Error TypeError: Type Parameter 'T1' is declared as 'in' but occurs in 'out' position…
Dvariance_typeparam_array.ets24 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/
Dambient_annotations_bad_type02.ets22 /* @@ 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/
Dambient_annotations_bad_type02.ets22 /* @@ 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/
Dtrailing_comma_1.js34 foo(/* @@ label5 */,a[0])
44 /* @@@ label5 Error SyntaxError: Unexpected token ','. */
/arkcompiler/ets_frontend/ets2panda/test/ast/parser/ets/readonly-parameter-test/
Dreadonly-parameter-and-Readonly-test2.ets25 /* @@ 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/
DunionCommonMember_neg.ets48 assertEQ(/* @@ label5 */u.fld5, 42.0)
58 /* @@@ label5 Error TypeError: Member type must be the same for all union objects. */
Dvariance_typeparam_array.ets24 returnTypeFunc1():T1/* @@ label5 */[]{ //CTE
49 /* @@@ label5 Error TypeError: Type Parameter 'T1' is declared as 'in' but occurs in 'invariant' po…

12