Home
last modified time | relevance | path

Searched full:compatible (Results 1 – 25 of 355) sorted by relevance

12345678910>>...15

/arkcompiler/ets_frontend/ets2panda/test/ast/compiler/ets/
Dabsent_return_statement.ets40 /* @@@ label1 Error TypeError: Type 'C' is not compatible with the enclosing method's return type '…
41 /* @@@ label2 Error TypeError: Type 'C' is not compatible with the enclosing method's return type '…
42 /* @@@ label3 Error TypeError: Type 'C' is not compatible with the enclosing method's return type '…
43 /* @@@ label4 Error TypeError: Type 'void' is not compatible with the enclosing method's return typ…
44 /* @@@ label5 Error TypeError: Type 'C' is not compatible with the enclosing method's return type '…
45 /* @@@ label6 Error TypeError: Type 'void' is not compatible with the enclosing method's return typ…
Dgeneric_callback.ets25 /* @@? 19:23 Error TypeError: Type '<A>(a: A) => A' is not compatible with type '(value: Int, index…
26 /* @@? 19:23 Error TypeError: Type '<A>(a: A) => A' is not compatible with type '(value: Int, index…
27 /* @@? 19:23 Error TypeError: Type '<A>(a: A) => A' is not compatible with type '(value: Int, index…
28 /* @@? 19:23 Error TypeError: Type '<A>(a: A) => A' is not compatible with type '(value: Int, index…
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/15.semantic_rules/07.overloading_and_overriding/02.override-compatible_signatures/
Doverride_compatibility_tuple.params.yaml44 params: override-compatible with itself parameter
59 params: overload-compatible parameter (covariance)
72 params: overload-compatible parameter (covariance)
87 params: overload-compatible parameter (covariance)
151 params: override-compatible with itself return value
164 params: override-compatible return value (contravariance)
177 params: override-compatible return value (covariance)
Doverride_with_object.params.yaml17 # override-compatible argument (contravariance)
29 # override-compatible argument (contravariance)
54 # override-compatible return value (covariance)
84 # override-compatible argument (covariance)
99 # override-compatible argument (covariance)
130 # override-compatible return value (invariance)
145 # override-compatible return value (contravariance)
160 # override-compatible return value (contravariance)
192 # override-compatible argument (invariance)
204 # override-compatible argument (covariance)
[all …]
Doverride_compatibility_parameter.params.yaml32 params: override-compatible with itself parameter
64 params: override-compatible parameter
83 params: override-compatible parameter (contravariant)
102 params: override-compatible parameter (invariant)
147 params: override-compatible parameter (contravariance)
186 params: override-compatible with itself return value
205 params: override-compatible with itself return value
224 params: override-compatible return value (contravariance)
Doverride_compatibility_class.params.yaml31 params: override-compatible parameter (contravariance)
59 params: overload-compatible parameter (covariance)
78 params: overload-compatible with itself parameter
95 params: override-compatible return value (covariance)
149 params: override-compatible with itself return value
171 params: override-compatible parameter (contravariance)
236 params: override-compatible with itself parameter
258 params: override-compatible return value (covariance)
327 params: override-compatible with itself return value
Doverride_compatibility_array.params.yaml30 params: override-compatible with itself parameter
43 params: override-compatible parameter (covariance)
93 params: override-compatible with itself return value
118 params: override-compatible return value (covariance)
159 params: override-compatible parameter (covariance)
187 params: override-compatible parameter (covariance)
Doverride_compatibility_enum.params.yaml34 params: enum is not override-compatible, overload is used
47 params: enum is not override-compatible
65 params: override-compatible with itself return value (invariance)
/arkcompiler/ets_frontend/ets2panda/linter/test/interop/
Dobject_literal_union_type.ets.arkts2.json24 …"rule": "Object literal not compatible with target union type. (arkts-interop-d2s-object-literal-n…
34 …"rule": "Object literal not compatible with target union type. (arkts-interop-d2s-object-literal-n…
44 …"rule": "Object literal not compatible with target union type. (arkts-interop-d2s-object-literal-n…
54 …"rule": "Object literal not compatible with target union type. (arkts-interop-d2s-object-literal-n…
/arkcompiler/ets_frontend/ets2panda/test/ast/compiler/ets/FixedArray/annotation_tests/
DannotationDecl_bad_initializer08.ets29 /* @@? 22:39 Error TypeError: Array element at index 0 with type 'double' is not compatible with th…
30 /* @@? 22:44 Error TypeError: Array element at index 1 with type 'double' is not compatible with th…
32 /* @@? 24:40 Error TypeError: Array element at index 0 with type 'Color' is not compatible with the…
33 /* @@? 24:53 Error TypeError: Array element at index 1 with type 'Color' is not compatible with the…
DannotationUsage_bad_param09.ets40 /* @@? 31:25 Error TypeError: Array element at index 0 with type 'double' is not compatible with th…
41 /* @@? 31:30 Error TypeError: Array element at index 1 with type 'double' is not compatible with th…
43 /* @@? 33:25 Error TypeError: Array element at index 0 with type 'Color' is not compatible with the…
44 /* @@? 33:38 Error TypeError: Array element at index 1 with type 'Color' is not compatible with the…
/arkcompiler/ets_frontend/ets2panda/test/ast/compiler/ets/annotation_tests/
DannotationDecl_bad_initializer08.ets29 /* @@? 22:29 Error TypeError: Array element at index 0 with type 'double' is not compatible with th…
30 /* @@? 22:34 Error TypeError: Array element at index 1 with type 'double' is not compatible with th…
32 /* @@? 24:30 Error TypeError: Array element at index 0 with type 'Color' is not compatible with the…
33 /* @@? 24:43 Error TypeError: Array element at index 1 with type 'Color' is not compatible with the…
DannotationUsage_bad_param09.ets40 /* @@? 31:25 Error TypeError: Array element at index 0 with type 'double' is not compatible with th…
41 /* @@? 31:30 Error TypeError: Array element at index 1 with type 'double' is not compatible with th…
43 /* @@? 33:25 Error TypeError: Array element at index 0 with type 'Color' is not compatible with the…
44 /* @@? 33:38 Error TypeError: Array element at index 1 with type 'Color' is not compatible with the…
/arkcompiler/ets_frontend/ets2panda/linter/arkanalyzer/src/core/common/
DConst.ts39 export const UNKNOWN_CLASS_NAME = ''; // temp for being compatible with existing type inference
40 export const UNKNOWN_FIELD_NAME = ''; // temp for being compatible with existing type inference
41 export const UNKNOWN_METHOD_NAME = ''; // temp for being compatible with existing type inference
/arkcompiler/ets_frontend/ets2panda/test/ast/parser/ets/
Dkeyof_parameter.ets32 /* @@@ label2 Error TypeError: Type '"other field"' is not compatible with type '"method1"|"field1"…
34 /* @@@ label4 Error TypeError: Type '"other method"' is not compatible with type '"method1"|"field1…
36 /* @@@ label6 Error TypeError: Type 'int' is not compatible with type '"method1"|"field1"|"field2"'…
Dkeyof_array_tuple.ets36 /* @@? 26:62 Error TypeError: Array element at index 1 with type '"field2"' is not compatible with …
37 /* @@? 27:62 Error TypeError: Array element at index 1 with type '"other field"' is not compatible
44 /* @@? 32:98 Error TypeError: Type '"field2"' is not compatible with rest parameter type '"abcd"|Do…
49 /* @@? 33:98 Error TypeError: Type '"other field"' is not compatible with rest parameter type '"abc…
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/03.types/20.nullish_types/
Dnullish_not_compatible_with_object_n1.ets17 desc: Nullish types are not compatible with type Object
26 o = nullish2 /* compile-time error - type 'undefined' is not compatible with Object */
Dnullish_not_compatible_with_object_n0.ets17 desc: Nullish types are not compatible with type Object
26 o = nullish1 /* compile-time error - type 'null' is not compatible with Object */
Dnullish_not_compatible_with_object_n3.ets17 desc: Nullish types are not compatible with type Object
27 …compile-time error - type 'AnyClassOrInterfaceType|null|undefined' is not compatible with Object */
Dnullish_not_compatible_with_object_n2.ets17 desc: Nullish types are not compatible with type Object
26 o = nullish3 /* compile-time error - type 'null|undefined' is not compatible with Object */
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/15.semantic_rules/07.overloading_and_overriding/05.overloading_and_overriding_in_interfaces/
Dsingle_interface_overload_neg.ets21 …If signatures are override-compatible (see Override-Compatible Signatures), A compile-time error o…
Dim_over2.ets20 …If signatures are override-compatible (see Override-Compatible Signatures), A compile-time error o…
Dmultiple_interfaces_inheritance.ets21 …If signatures are override-compatible (see Override-Compatible Signatures), then overriding is use…
/arkcompiler/ets_frontend/ets2panda/test/ast/parser/
Dmulti_returnstatement_typeerror.ets25 /* @@? 21:10 Error TypeError: Type 'int' is not compatible with the enclosing method's return type …
27 /* @@? 22:10 Error TypeError: Type 'A' is not compatible with the enclosing method's return type 'S…
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/07.expressions/11.function_call_expression/step_2_semantic_correctness_check/
Dstep2.ets21 whose type is compatible (see Compatible Types) with the type specified

12345678910>>...15