| /arkcompiler/ets_runtime/test/sharedtest/check/ |
| D | expect_output.txt | 22 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/ |
| D | expect_output.txt | 15 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/ |
| D | sendable_class_interface_property.sts | 65 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 …]
|
| D | class_as_object.ts.arkts2.json | 24 "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": "Classes cannot be used as objects (arkts-no-classes-as-obj)", 74 "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)", 114 "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)", [all …]
|
| D | imported_use_as_object.ts.json | 24 "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 …]
|
| D | type_literals.ts.json | 24 … "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 …]
|
| D | class_as_object.ts.json | 22 "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 …]
|
| D | type_literals.ts.autofix.json | 31 … "rule": "Object literals cannot be used as type declarations (arkts-no-obj-literals-as-types)", 48 … "rule": "Object literals cannot be used as type declarations (arkts-no-obj-literals-as-types)", 70 … "rule": "Object literals cannot be used as type declarations (arkts-no-obj-literals-as-types)", 92 … "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)", 131 … "rule": "Object literals cannot be used as type declarations (arkts-no-obj-literals-as-types)", 148 … "rule": "Object literals cannot be used as type declarations (arkts-no-obj-literals-as-types)", 170 … "rule": "Object literals cannot be used as type declarations (arkts-no-obj-literals-as-types)", 187 … "rule": "Object literals cannot be used as type declarations (arkts-no-obj-literals-as-types)", 209 … "rule": "Object literals cannot be used as type declarations (arkts-no-obj-literals-as-types)", [all …]
|
| D | constructor_types.ts.json | 44 "rule": "Classes cannot be used as objects (arkts-no-classes-as-obj)", 54 "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)", 114 … "rule": "Object literals cannot be used as type declarations (arkts-no-obj-literals-as-types)", 154 "rule": "Classes cannot be used as objects (arkts-no-classes-as-obj)", 164 "rule": "Classes cannot be used as objects (arkts-no-classes-as-obj)",
|
| /arkcompiler/ets_runtime/ecmascript/ |
| D | message_string.h | 27 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_frontend/ets2panda/test/ast/parser/ets/readonly-parameter-test/ |
| D | readonly-parameter-and-Readonly-test2.sts | 38 /* @@? 30:1 Error TypeError: Cannot modify an array or tuple content that has the readonly paramete… 39 /* @@? 31:1 Error TypeError: Cannot modify an array or tuple content that has the readonly paramete… 40 /* @@? 34:1 Error TypeError: Cannot modify an array or tuple content that has the readonly paramete… 41 /* @@? 36:1 Error TypeError: Cannot modify an array or tuple content that has the readonly paramete… 42 /* @@? 17:5 Error TypeError: Cannot modify an array or tuple content that has the readonly paramete… 43 /* @@? 18:5 Error TypeError: Cannot modify an array or tuple content that has the readonly paramete… 44 /* @@? 19:5 Error TypeError: Cannot modify an array or tuple content that has the readonly paramete… 45 /* @@? 23:5 Error TypeError: Cannot modify an array or tuple content that has the readonly paramete… 46 /* @@? 24:5 Error TypeError: Cannot modify an array or tuple content that has the readonly paramete… 47 /* @@? 25:5 Error TypeError: Cannot modify an array or tuple content that has the readonly paramete…
|
| /arkcompiler/ets_runtime/test/moduletest/functionapply/ |
| D | expect_output.txt | 25 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/ets_runtime/test/moduletest/container/ |
| D | expect_output.txt | 18 BusinessError: The forEach method cannot be bound 23 BusinessError: The forEach method cannot be bound 25 BusinessError: The forEach method cannot be bound 28 BusinessError: The forEach method cannot be bound 33 BusinessError: The forEach method cannot be bound 42 BusinessError: The forEach method cannot be bound
|
| /arkcompiler/ets_runtime/test/sharedtest/sendable/ |
| D | expect_output.txt | 16 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/ |
| D | test4.ts.json | 44 …"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/runtime_core/static_core/plugins/ets/tests/ets-templates/17.experimental_features/09.final_classes_and_methods/02.final_methods/ |
| D | fm.params.yaml | 43 # 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_runtime/test/aottest/privateproperty/ |
| D | pgo_expect_output.txt | 29 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
|
| D | expect_output.txt | 29 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
|
| /arkcompiler/ets_frontend/ets2panda/test/ast/compiler/ets/annotation_tests/ |
| D | annotationUsage_as_type09.sts | 21 /* @@? 19:14 Error TypeError: Annotations cannot be used as a type. */ 22 /* @@? 19:9 Error TypeError: Cannot cast type 'int' to '*TYPE_ERROR*' */ 23 /* @@? 19:14 Error TypeError: Annotations cannot be used as a type. */ 24 /* @@? 19:9 Error TypeError: Cannot cast type 'int' to '*TYPE_ERROR*' */
|
| D | annotationUsage_as_type07.sts | 26 /* @@? 23:25 Error TypeError: Annotations cannot be used as a type. */ 27 /* @@? 24:22 Error TypeError: Annotations cannot be used as a type. */ 28 /* @@? 23:48 Error TypeError: Annotations cannot be used as a type. */ 29 /* @@? 20:7 Error TypeError: Annotations cannot be used as a type. */
|
| D | annotationUsage_missing_arguements02.sts | 29 …uired field 'testProperty2' must be specified. Fields without default values cannot be omitted. */ 30 …uired field 'testProperty2' must be specified. Fields without default values cannot be omitted. */ 31 …uired field 'testProperty1' must be specified. Fields without default values cannot be omitted. */ 32 …uired field 'testProperty1' must be specified. Fields without default values cannot be omitted. */
|
| D | annotationDecl_bad_initializer08.sts | 27 /* @@? 20:29 Error TypeError: Type 'int' cannot be assigned to type 'String' */ 28 /* @@? 21:30 Error TypeError: Type '"false"' cannot be assigned to type 'boolean' */ 33 /* @@? 22:28 Error TypeError: Type '*TYPE_ERROR*' cannot be assigned to type 'int[]' */ 34 /* @@? 23:28 Error TypeError: Type 'Size' cannot be assigned to type 'Color' */ 39 /* @@? 24:29 Error TypeError: Type '*TYPE_ERROR*' cannot be assigned to type 'Size[]' */
|
| /arkcompiler/ets_frontend/ets2panda/linter/test/rules/ |
| D | rule149.ts.json | 22 "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)", 242 "rule": "Classes cannot be used as objects (arkts-no-classes-as-obj)", [all …]
|
| /arkcompiler/ets_frontend/ets2panda/test/test-lists/ets-runtime/ |
| D | ets-runtime-ignored.txt | 1 # SyntaxError: Cannot find type 'Class'. 5 # SyntaxError: Cannot find type 'HashMap'. 9 # SyntaxError: Cannot find type 'Class'. 64 #SyntaxError: Cannot find type 'C'.
|
| /arkcompiler/ets_frontend/ets2panda/linter/test/extended_features/ |
| D | @arkts.collections.d.ets | 206 * @throws { BusinessError } 10200011 - The create method cannot be bound. 219 * @throws { BusinessError } 10200011 - The from method cannot be bound. 230 * @throws { BusinessError } 10200012 - The Array's constructor cannot be directly invoked. 243 * @throws { BusinessError } 10200012 - The Array's constructor cannot be directly invoked. 255 * @throws { BusinessError } 10200011 - The pop method cannot be bound. 269 * @throws { BusinessError } 10200011 - The push method cannot be bound. 284 * @throws { BusinessError } 10200011 - The join method cannot be bound. 297 * @throws { BusinessError } 10200011 - The shift method cannot be bound. 311 * @throws { BusinessError } 10200011 - The unshift method cannot be bound. 331 * @throws { BusinessError } 10200011 - The slice method cannot be bound. [all …]
|