Searched full:fld2 (Results 1 – 25 of 31) sorted by relevance
12
| /arkcompiler/ets_frontend/ets2panda/test/runtime/ets/ |
| D | readonlyObjectLiteral_2.sts | 17 fld2: number = 3; 20 let a: A = {fld: 3, fld2: 4}; 21 a.fld2 = 5; 23 assert(a.fld2 == 5);
|
| /arkcompiler/ets_frontend/ets2panda/test/compiler/ets/ |
| D | requiredType_5.sts | 18 fld2: Int | null | undefined = 5; 22 let req_b: Required<B> = {fld: 3.0, fld2: 7}; 24 req_b.fld2 = 4;
|
| D | requiredType_9.sts | 22 fld2: Required<T>; 27 let req_a: Required<A<B>> = {fld: new B(), fld2: {b_fld: 4}, fld3: {b_fld: 9}};
|
| /arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/04.names_declarations_and_scopes/04.scopes/ |
| D | type_param_class.sts | 29 fld2: T; 33 this.fld2 = this.fld1 * 2; // CTE, cannot apply arithmetic to type parameters 34 return this.fld2;
|
| D | type_param_interface.sts | 41 fld2: T; 46 this.fld2 = this.fld1 * 2; 47 return this.fld2;
|
| /arkcompiler/runtime_core/static_core/tests/cts-generator/cts-template/ |
| D | sta.obj.yaml | 55 i32 fld2 60 i64 fld2 65 u64 fld2 70 i32 fld2 <static> 76 i32 fld2 <static> 83 i64 fld2 <static> 89 f64 fld2 <static> 95 f32 fld2 <static>
|
| D | lda.obj.yaml | 53 i32 fld2 58 i64 fld2 63 u64 fld2 68 i32 fld2 <static> 74 i32 fld2 <static> 80 i64 fld2 <static> 86 f64 fld2 <static> 92 f32 fld2 <static>
|
| D | mov.obj.yaml | 54 i32 fld2 59 i64 fld2 64 u64 fld2 69 i32 fld2 <static> 75 i32 fld2 <static> 81 i64 fld2 <static> 87 f64 fld2 <static> 93 f32 fld2 <static>
|
| /arkcompiler/runtime_core/tests/cts-generator/cts-template/ |
| D | sta.obj.yaml | 55 i32 fld2 60 i64 fld2 65 u64 fld2 70 i32 fld2 <static> 76 i32 fld2 <static> 83 i64 fld2 <static> 89 f64 fld2 <static> 95 f32 fld2 <static>
|
| D | lda.obj.yaml | 54 i32 fld2 59 i64 fld2 64 u64 fld2 69 i32 fld2 <static> 75 i32 fld2 <static> 81 i64 fld2 <static> 87 f64 fld2 <static> 93 f32 fld2 <static> 162 i32 fld2
|
| D | mov.obj.yaml | 55 i32 fld2 60 i64 fld2 65 u64 fld2 70 i32 fld2 <static> 76 i32 fld2 <static> 83 i64 fld2 <static> 89 f64 fld2 <static> 95 f32 fld2 <static> 166 i32 fld2
|
| /arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/06.contexts_and_conversions/01.assignment-like_contexts/ |
| D | widening_refs_call.sts | 30 public fld2: {{c.totype}}|null; 37 this.fld2 = p; 45 if (obj.fld1 !== v || obj.fld2 !== v) {
|
| D | unrelated_call.sts | 32 public fld2: {{c.totype}}|null; 39 this.fld2 = p; 47 if (obj.fld1 !== v || obj.fld2 !== v) {
|
| D | widening_prim_call.sts | 24 public fld2: {{c.ctype}}; 31 this.fld2 = p; 40 if (obj{{loop.index}}.fld1 != {{t.val2|safe}} || obj{{loop.index}}.fld2 != {{t.val2|safe}}) {
|
| /arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/06.contexts_and_conversions/05.implicit_conversions/12.enum_to_const_types_conversion/ |
| D | enum2str.params.yaml | 57 fld2: string = Color.Blue + Color.Green 64 assert a.fld2 == "bg" 71 fld2: string = "" 78 a.fld2 = Color.Blue + Color.Green 81 assert a.fld2 == "bg"
|
| D | enum2int.params.yaml | 57 fld2: number = Color.Blue + Color.Green 64 assert a.fld2 == 201 71 fld2: int 78 a.fld2 = Color.Blue + Color.Green 81 assert a.fld2 == 201
|
| /arkcompiler/ets_frontend/ets2panda/test/ast/compiler/ets/ |
| D | requiredType_7_neg.sts | 18 fld2: Number | undefined = 2.0; 23 let req_b: Required<B> = /* @@ label */{fld: 3.0, fld2: 5.0};
|
| /arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/03.types/08.reference_types/12.union_types/access_to_common_union_members/ |
| D | cm_fld2.params.yaml | 114 fld2: 'a'|'b'|'c' = 'c' 117 fld2: 'c'|'b'|'a' = 'a' 124 assertEQ(u1.fld2, 'c') 125 assertEQ(u2.fld2, 'a')
|
| /arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/07.expressions/05.object_literal/02.object_literal_of_interface_type/ |
| D | in.params.yaml | 157 fld2: number; 163 let a: A = { fld1: v++, fld2: v++, fld3: v++ } 164 assert(v == 45 && a.fld1 == 42 && a.fld2 == 43 && a.fld3 == 44)
|
| /arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/07.expressions/05.object_literal/01.object_literal_of_class_type/ |
| D | cl.params.yaml | 152 fld2: number; 158 let a: A = { fld1: v++, fld2: v++, fld3: v++ } 159 assert(v == 45 && a.fld1 == 42 && a.fld2 == 43 && a.fld3 == 44)
|
| /arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/17.experimental_features/12.trailing_lambda/ |
| D | trlambda_func.params.yaml | 230 fld2: number 234 let v: A = { fld1: foo(1.0) { globl = 3.0 }, fld2: foo(2.0) { globl += 5.0 } } 235 assert v.fld1 == 4.0 && v.fld2 == 11.0
|
| /arkcompiler/ets_frontend/ets2panda/linter/test/rules/ |
| D | rule1.sts | 51 [S2.s2]: "fld2",
|
| /arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/05.generics/02.generic_instantiations/03.implicit_generic_instantiations/ |
| D | func.params.yaml | 106 fld2: number = 0 122 assert(foo('fld2', 'fld4') == 'fld2fld4')
|
| D | lmbd.params.yaml | 102 fld2: number = 0 116 assert(foo('fld2', 'fld4') == 'fld2fld4')
|
| D | meth.params.yaml | 125 fld2: number = 0 143 assert(cls.foo('fld2', 'fld4') == 'fld2fld4')
|
12