Home
last modified time | relevance | path

Searched full:cannot (Results 1 – 25 of 1801) sorted by relevance

12345678910>>...73

/arkcompiler/ets_runtime/test/sharedtest/check/
Dexpect_output.txt22 Fail to update propNumber to null with stobjbyname. err: TypeError: Cannot set sendable property wi…
23 Fail to update propBool to null with stobjbyname. err: TypeError: Cannot set sendable property with…
24 Fail to update propBigInt1 to null with stobjbyname. err: TypeError: Cannot set sendable property w…
25 Fail to update propBigInt2 to null with stobjbyname. err: TypeError: Cannot set sendable property w…
45 Fail to update subClassPropString with stobjbyname. err: TypeError: Cannot set sendable property wi…
47 Fail to replace accessor. err: TypeError: Cannot define property
49 Fail to set prop through accessor with mismatched type. err: TypeError: Cannot set sendable propert…
51 Fail to replace instance's func. err: TypeError: Cannot assign to read only property
53 Fail to update prototype. err: TypeError: Cannot add property in prevent extensions
54 Fail to extend prop to constructor's prototype. err: TypeError: Cannot add property in prevent exte…
[all …]
/arkcompiler/ets_runtime/test/sharedtest/sharedcollectionsexception/
Dexpect_output.txt15 call boundAt fail. err: BusinessError: The at method cannot be bound., errCode: 10200011
16 Call boundConcat fail. err: BusinessError: The concat method cannot be bound., errCode: 10200011
17 Call boundEntries failed. err: BusinessError: The entries method cannot be bound., errCode: 10200011
18 Call boundFill failed. err: BusinessError: The fill method cannot be bound., errCode: 10200011
19 Call boundFilter failed. err: BusinessError: The filter method cannot be bound., errCode: 10200011
20 Call boundFind failed. err: BusinessError: The find method cannot be bound., errCode: 10200011
21 Call boundFindIndex failed. err: BusinessError: The findIndex method cannot be bound., errCode: 102…
22 Call boundForEach failed. err: BusinessError: The forEach method cannot be bound., errCode: 10200011
23 Call boundIndexOf failed. err: BusinessError: The indexOf method cannot be bound., errCode: 10200011
24 Call boundJoin failed. err: BusinessError: The join method cannot be bound., errCode: 10200011
[all …]
/arkcompiler/ets_frontend/ets2panda/linter/test/main/
Dsendable_class_interface_property.ets65 prop1: string[]; // ERROR, sendable class property cannot be array
66 prop2: NonSendableClass2; // ERROR, sendable class property cannot be non-sendable-class
67 …prop3: NonSendableClass2 | null; // ERROR, sendable class property cannot be non-sendable-class un…
68 …prop4: NonSendableInterface | number; // ERROR, sendable class property cannot be non-sendable-cla…
69 …prop5: NonSendableClass2 | null | undefined; // ERROR, sendable class property cannot be non-senda…
70 prop6: alias2; // ERROR, sendable class property cannot be non-sendable-type
71 prop7: alias3; // ERROR, sendable class property cannot be non-sendable-type
72 prop8: RegularEnum; // ERROR, sendable class property cannot be non-sendable-type
73 prop9: RegularEnum1; // ERROR, sendable class property cannot be non-sendable-type
74 prop10: RegularEnum2; // ERROR, sendable class property cannot be non-sendable-type
[all …]
Dclass_as_object.ets.json22 "rule": "Classes cannot be used as objects (arkts-no-classes-as-obj)",
32 "rule": "Classes cannot be used as objects (arkts-no-classes-as-obj)",
42 "rule": "Classes cannot be used as objects (arkts-no-classes-as-obj)",
52 "rule": "Classes cannot be used as objects (arkts-no-classes-as-obj)",
72 "rule": "Classes cannot be used as objects (arkts-no-classes-as-obj)",
82 "rule": "Classes cannot be used as objects (arkts-no-classes-as-obj)",
102 "rule": "Classes cannot be used as objects (arkts-no-classes-as-obj)",
112 "rule": "Classes cannot be used as objects (arkts-no-classes-as-obj)",
132 "rule": "Classes cannot be used as objects (arkts-no-classes-as-obj)",
142 "rule": "Classes cannot be used as objects (arkts-no-classes-as-obj)",
[all …]
Dinvalid_identifier.ets.arkts2.json24 "rule": "This keyword cannot be used as identifiers (arkts-invalid-identifier)",
44 "rule": "This keyword cannot be used as identifiers (arkts-invalid-identifier)",
54 "rule": "This keyword cannot be used as identifiers (arkts-invalid-identifier)",
64 "rule": "This keyword cannot be used as identifiers (arkts-invalid-identifier)",
74 "rule": "This keyword cannot be used as identifiers (arkts-invalid-identifier)",
84 "rule": "This keyword cannot be used as identifiers (arkts-invalid-identifier)",
104 "rule": "This keyword cannot be used as identifiers (arkts-invalid-identifier)",
114 "rule": "This keyword cannot be used as identifiers (arkts-invalid-identifier)",
124 "rule": "This keyword cannot be used as identifiers (arkts-invalid-identifier)",
134 "rule": "This keyword cannot be used as identifiers (arkts-invalid-identifier)",
[all …]
Dimported_use_as_object.ets.json24 "rule": "Classes cannot be used as objects (arkts-no-classes-as-obj)",
34 "rule": "Classes cannot be used as objects (arkts-no-classes-as-obj)",
44 "rule": "Classes cannot be used as objects (arkts-no-classes-as-obj)",
54 "rule": "Namespaces cannot be used as objects (arkts-no-ns-as-obj)",
64 "rule": "Namespaces cannot be used as objects (arkts-no-ns-as-obj)",
74 "rule": "Namespaces cannot be used as objects (arkts-no-ns-as-obj)",
84 "rule": "Classes cannot be used as objects (arkts-no-classes-as-obj)",
94 "rule": "Classes cannot be used as objects (arkts-no-classes-as-obj)",
104 "rule": "Classes cannot be used as objects (arkts-no-classes-as-obj)",
114 "rule": "Classes cannot be used as objects (arkts-no-classes-as-obj)",
[all …]
Dclass_as_object.ets.arkts2.json64 "rule": "Classes cannot be used as objects (arkts-no-classes-as-obj)",
74 "rule": "Classes cannot be used as objects (arkts-no-classes-as-obj)",
84 "rule": "Classes cannot be used as objects (arkts-no-classes-as-obj)",
94 "rule": "Classes cannot be used as objects (arkts-no-classes-as-obj)",
134 "rule": "Classes cannot be used as objects (arkts-no-classes-as-obj)",
154 "rule": "Classes cannot be used as objects (arkts-no-classes-as-obj)",
174 "rule": "Classes cannot be used as objects (arkts-no-classes-as-obj)",
194 "rule": "Classes cannot be used as objects (arkts-no-classes-as-obj)",
214 "rule": "Classes cannot be used as objects (arkts-no-classes-as-obj)",
294 "rule": "Classes cannot be used as objects (arkts-no-classes-as-obj)",
[all …]
Dtype_literals.ets.json24 … "rule": "Object literals cannot be used as type declarations (arkts-no-obj-literals-as-types)",
34 … "rule": "Object literals cannot be used as type declarations (arkts-no-obj-literals-as-types)",
44 … "rule": "Object literals cannot be used as type declarations (arkts-no-obj-literals-as-types)",
54 … "rule": "Object literals cannot be used as type declarations (arkts-no-obj-literals-as-types)",
64 … "rule": "Object literals cannot be used as type declarations (arkts-no-obj-literals-as-types)",
74 … "rule": "Object literals cannot be used as type declarations (arkts-no-obj-literals-as-types)",
84 … "rule": "Object literals cannot be used as type declarations (arkts-no-obj-literals-as-types)",
94 … "rule": "Object literals cannot be used as type declarations (arkts-no-obj-literals-as-types)",
104 … "rule": "Object literals cannot be used as type declarations (arkts-no-obj-literals-as-types)",
114 … "rule": "Object literals cannot be used as type declarations (arkts-no-obj-literals-as-types)",
[all …]
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates_deprecated/05.generics/01.type_parameters/01.type_parameter_constraint/generic_classes/
Dgeneric_class_constraint.params.yaml25 doc: cannot extend final class
29 doc: cannot extend final class
33 doc: cannot extend final class
37 doc: cannot extend final class
41 doc: cannot extend final class
45 doc: cannot extend final class
49 doc: cannot extend final class
53 doc: cannot extend final class
57 doc: cannot extend final class
61 doc: cannot extend final class
/arkcompiler/ets_frontend/ets2panda/test/ast/parser/ets/
Dreserved_type.ets37 /* @@? 16:16 Error SyntaxError: 'Required' is reserved and cannot be used as a variable/type name */
38 /* @@? 20:16 Error SyntaxError: 'Readonly' is reserved and cannot be used as a variable/type name */
39 /* @@? 24:15 Error SyntaxError: 'Partial' is reserved and cannot be used as a variable/type name */
40 /* @@? 29:13 Error SyntaxError: 'Required' is reserved and cannot be used as a variable/type name */
41 /* @@? 30:13 Error SyntaxError: 'Readonly' is reserved and cannot be used as a variable/type name */
42 /* @@? 31:13 Error SyntaxError: 'Partial' is reserved and cannot be used as a variable/type name */
43 /* @@? 32:26 Error SyntaxError: 'Required' is reserved and cannot be used as a variable/type name */
44 /* @@? 33:26 Error SyntaxError: 'Readonly' is reserved and cannot be used as a variable/type name */
45 /* @@? 34:25 Error SyntaxError: 'Partial' is reserved and cannot be used as a variable/type name */
Dkeyof_private_and_protected.ets49 /* @@@ label1 Error TypeError: Type '"field2"' cannot be assigned to type '"bfoo"|"bfield1"|"foo"|"…
50 /* @@@ label2 Error TypeError: Type '"foo2"' cannot be assigned to type '"bfoo"|"bfield1"|"foo"|"fi…
51 /* @@@ label3 Error TypeError: Type '"field3"' cannot be assigned to type '"bfoo"|"bfield1"|"foo"|"…
52 /* @@@ label4 Error TypeError: Type '"foo3"' cannot be assigned to type '"bfoo"|"bfield1"|"foo"|"fi…
53 /* @@@ label5 Error TypeError: Type '"bfield2"' cannot be assigned to type '"bfoo"|"bfield1"|"foo"|…
54 /* @@@ label6 Error TypeError: Type '"bfoo2"' cannot be assigned to type '"bfoo"|"bfield1"|"foo"|"f…
55 /* @@@ label7 Error TypeError: Type '"bfield3"' cannot be assigned to type '"bfoo"|"bfield1"|"foo"|…
56 /* @@@ label8 Error TypeError: Type '"bfoo3"' cannot be assigned to type '"bfoo"|"bfield1"|"foo"|"f…
/arkcompiler/ets_frontend/ets2panda/test/ast/compiler/ets/
Darray_with_type_parameter.ets86 /* @@? 18:5 Error TypeError: Cannot use array creation expression with type parameter. */
87 /* @@? 22:5 Error TypeError: Cannot use array creation expression with type parameter. */
88 /* @@? 23:5 Error TypeError: Cannot use array creation expression with type parameter. */
89 /* @@? 31:5 Error TypeError: Cannot use array creation expression with type parameter. */
90 /* @@? 35:5 Error TypeError: Cannot use array creation expression with type parameter. */
91 /* @@? 41:5 Error TypeError: Cannot use array creation expression with type parameter. */
92 /* @@? 42:5 Error TypeError: Cannot use array creation expression with type parameter. */
93 /* @@? 64:9 Error TypeError: Cannot use array creation expression with type parameter. */
94 /* @@? 70:5 Error TypeError: Cannot use array creation expression with type parameter. */
95 /* @@? 76:9 Error TypeError: Cannot use array creation expression with non-constructable element ty…
[all …]
/arkcompiler/ets_frontend/ets2panda/test/ast/parser/ets/readonly-parameter-test/
Dreadonly-parameter-and-Readonly-test2.ets38 /* @@@ label6 Error TypeError: Cannot modify an array or tuple content that has the readonly parame…
39 /* @@@ label7 Error TypeError: Cannot modify an array or tuple content that has the readonly parame…
40 /* @@@ label8 Error TypeError: Cannot modify an array or tuple content that has the readonly parame…
41 /* @@@ label9 Error TypeError: Cannot modify an array or tuple content that has the readonly parame…
42 /* @@@ label Error TypeError: Cannot modify an array or tuple content that has the readonly paramet…
43 /* @@@ label1 Error TypeError: Cannot modify an array or tuple content that has the readonly parame…
44 /* @@@ label2 Error TypeError: Cannot modify an array or tuple content that has the readonly parame…
45 /* @@@ label3 Error TypeError: Cannot modify an array or tuple content that has the readonly parame…
46 /* @@@ label4 Error TypeError: Cannot modify an array or tuple content that has the readonly parame…
47 /* @@@ label5 Error TypeError: Cannot modify an array or tuple content that has the readonly parame…
/arkcompiler/ets_frontend/ets2panda/util/diagnostic/
Dsemantic.yaml33 …message: Annotations without 'SOURCE' cannot be used on lambda expressions, local declarations, or…
41 message: Cannot use array creation expression with type parameter.
45 message: "An expression of type 'void' cannot be tested for truthiness"
97 message: "Cannot use array creation expression with never type."
113 message: "Cannot call abstract method!"
117 message: "Cannot call readonly type methods."
181 …message: "The required field '{}' must be specified. Fields without default values cannot be omitt…
205 message: "Cannot use array creation expression with abstract classes and interfaces."
209 …message: "Cannot use array creation expression with non-constructable element type which is non-as…
213 message: "{} is abstract therefore cannot be instantiated."
[all …]
/arkcompiler/ets_runtime/ecmascript/
Dmessage_string.h27 …V(SetReadOnlyProperty, "Cannot assign to read only property") …
28 …V(SetTypeMismatchedSharedProperty, "Cannot set sendable property with mismatched type") …
29 …V(CreateObjectWithSendableProto, "Cannot create object with sendable proto") …
30 …V(UpdateSendableAttributes, "Cannot update sendable object's attributes") …
31 …V(SetProtoWithSendable, "Cannot set proto with sendable object") …
34 …V(FunctionCallNotConstructor, "class constructor cannot call") …
35 …V(SetPropertyWhenNotExtensible, "Cannot add property in prevent extensions") …
37 …V(CanNotSetPropertyOnContainer, "Cannot set property on Container") …
53 …V(CanNotConvertNotUndefinedObject, "Cannot convert a UNDEFINED value to a JSObject") …
54 …V(CanNotConvertNotNullObject, "Cannot convert a NULL value to a JSObject") …
[all …]
/arkcompiler/ets_runtime/test/moduletest/functionapply/
Dexpect_output.txt25 TypeError: Cannot assign to read only property
26 TypeError: Cannot assign to read only property
27 TypeError: Cannot assign to read only property
28 TypeError: Cannot assign to read only property
29 TypeError: Cannot assign to read only property
32 TypeError: Cannot assign to read only property
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/07.expressions/04.array_literal/02.type_inference_from_types_of_elements/
Darr_inf2_n.params.yaml17 const a = [] // CTE, type cannot be determined
21 let a = [] // CTE, type cannot be determined
25 const a = [] // CTE, type cannot be determined
28 let a = [] // CTE, type cannot be determined
31 let a = [[]] // CTE, type cannot be determined
34 let a = [{}, {},] // CTE, type cannot be determined
/arkcompiler/ets_frontend/ets2panda/test/ast/compiler/ets/annotation_tests/
Dannotation_without_source_policy.ets47 /* @@? 18:2 Error TypeError: Annotations without 'SOURCE' cannot be used on lambda expressions, loc…
48 /* @@? 21:2 Error TypeError: Annotations without 'SOURCE' cannot be used on lambda expressions, loc…
49 /* @@? 25:6 Error TypeError: Annotations without 'SOURCE' cannot be used on lambda expressions, loc…
50 /* @@? 30:6 Error TypeError: Annotations without 'SOURCE' cannot be used on lambda expressions, loc…
51 /* @@? 34:2 Error TypeError: Annotations without 'SOURCE' cannot be used on lambda expressions, loc…
52 /* @@? 37:8 Error TypeError: Annotations without 'SOURCE' cannot be used on lambda expressions, loc…
53 /* @@? 42:2 Error TypeError: Annotations without 'SOURCE' cannot be used on lambda expressions, loc…
/arkcompiler/ets_runtime/test/sharedtest/sendable/
Dexpect_output.txt16 sendable change proto failed. err: TypeError: Cannot set proto with sendable object, code: undefined
20 sendable contain non-sendable failed. err: TypeError: Cannot set sendable property with mismatched …
21 sendable contain static non-sendable failed. err: TypeError: Cannot set sendable property with mism…
25 sendable add property failed. err: TypeError: Cannot add property in prevent extensions, code: unde…
26 sendable change property failed. err: TypeError: Cannot set sendable property with mismatched type,…
27 sendable delete property failed. err: TypeError: Cannot delete property, code: undefined
/arkcompiler/ets_frontend/ets2panda/linter/test/ts_import_ets/ts/
Dtest4.ts.json44 …"rule": "In ts files, \"Sendable\" types cannot be used in implements and extends clauses (arkts-n…
54 …"rule": "In ts files, \"Sendable\" types cannot be used in implements and extends clauses (arkts-n…
64 …"rule": "In ts files, \"Sendable\" types cannot be used in implements and extends clauses (arkts-n…
74 …"rule": "In ts files, \"Sendable\" types cannot be used in implements and extends clauses (arkts-n…
84 …"rule": "In ts files, \"Sendable\" types cannot be used in implements and extends clauses (arkts-n…
94 …"rule": "In ts files, \"Sendable\" types cannot be used in implements and extends clauses (arkts-n…
104 …"rule": "In ts files, \"Sendable\" types cannot be used in implements and extends clauses (arkts-n…
114 …"rule": "In ts files, \"Sendable\" types cannot be used in implements and extends clauses (arkts-n…
124 …"rule": "In ts files, \"Sendable\" types cannot be used in implements and extends clauses (arkts-n…
/arkcompiler/ets_runtime/test/moduletest/container/
Dexpect_output.txt18 BusinessError: The forEach method cannot be bound
24 BusinessError: The forEach method cannot be bound
26 BusinessError: The forEach method cannot be bound
29 BusinessError: The forEach method cannot be bound
34 BusinessError: The forEach method cannot be bound
43 BusinessError: The forEach method cannot be bound
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/17.experimental_features/10.final_classes_and_methods/02.final_methods/
Dfm.params.yaml43 # final method cannot be overridden
74 # cannot reduce the visibility
90 # final method cannot be overridden with another final
106 # final method cannot be overridden in descendants
124 # final cannot be abstract
133 # final cannot be abstract
142 # final cannot be abstract
154 # final cannot be static
165 # final cannot be static
176 # final cannot be static and abstract
[all …]
/arkcompiler/ets_frontend/ets2panda/linter/test/interop/
Dobject_literal_constructor.ets.arkts2.json24 …"rule": "Object literal cannot be directly assigned to class with a constructor. (arkts-interop-d2…
44 …"rule": "Object literal cannot be directly assigned to class with a constructor. (arkts-interop-d2…
64 …"rule": "Object literal cannot be directly assigned to class with a constructor. (arkts-interop-d2…
94 …"rule": "Object literal cannot be directly assigned to class with a constructor. (arkts-interop-d2…
104 …"rule": "Object literal cannot be directly assigned to class with a constructor. (arkts-interop-d2…
114 …"rule": "Object literal cannot be directly assigned to class with a constructor. (arkts-interop-d2…
124 …"rule": "Object literal cannot be directly assigned to class with a constructor. (arkts-interop-d2…
134 …"rule": "Object literal cannot be directly assigned to class with a constructor. (arkts-interop-d2…
144 …"rule": "Object literal cannot be directly assigned to class with a constructor. (arkts-interop-d2…
164 …"rule": "Object literal cannot be directly assigned to class with a constructor. (arkts-interop-d2…
[all …]
/arkcompiler/ets_runtime/test/aottest/privateproperty/
Dexpect_output.txt29 TypeError : invalid or cannot find private key
30 TypeError : invalid or cannot find private key
31 TypeError: invalid or cannot find private key
32 TypeError: invalid or cannot find private key
Dpgo_expect_output.txt29 TypeError : invalid or cannot find private key
30 TypeError : invalid or cannot find private key
31 TypeError: invalid or cannot find private key
32 TypeError: invalid or cannot find private key

12345678910>>...73