Home
last modified time | relevance | path

Searched full:only (Results 1 – 25 of 2643) sorted by relevance

12345678910>>...106

/arkcompiler/ets_frontend/ets2panda/linter/test/
Dsendable_function.ts.json21 …"rule": "Only \"@Sendable\" decorator can be used on \"Sendable\" function (arkts-sendable-functio…
33 …"rule": "Only \"@Sendable\" decorator can be used on \"Sendable\" function (arkts-sendable-functio…
39 …"rule": "Only \"@Sendable\" decorator can be used on \"Sendable\" typeAlias (arkts-sendable-typeAl…
45 …"rule": "Only \"FunctionType\" can declare \"Sendable\" typeAlias (arkts-sendable-typeAlias-declar…
51 …"rule": "Only \"FunctionType\" can declare \"Sendable\" typeAlias (arkts-sendable-typeAlias-declar…
57 …"rule": "Only \"FunctionType\" can declare \"Sendable\" typeAlias (arkts-sendable-typeAlias-declar…
64 …"rule": "Only imported variables can be captured by \"Sendable\" class (arkts-sendable-imported-va…
71 …"rule": "Only imported variables can be captured by \"Sendable\" class (arkts-sendable-imported-va…
78 …"rule": "Only \"@Sendable\" decorator can be used on \"Sendable\" class (arkts-sendable-class-deco…
84 …"rule": "Only \"@Sendable\" decorator can be used on \"Sendable\" function (arkts-sendable-functio…
[all …]
Dsendable_captured_variables.ts.json22 …"rule": "Only imported variables can be captured by \"Sendable\" class (arkts-sendable-imported-va…
29 …"rule": "Only imported variables can be captured by \"Sendable\" class (arkts-sendable-imported-va…
36 …"rule": "Only imported variables can be captured by \"Sendable\" class (arkts-sendable-imported-va…
43 …"rule": "Only imported variables can be captured by \"Sendable\" class (arkts-sendable-imported-va…
50 …"rule": "Only imported variables can be captured by \"Sendable\" class (arkts-sendable-imported-va…
57 …"rule": "Only imported variables can be captured by \"Sendable\" class (arkts-sendable-imported-va…
64 …"rule": "Only imported variables can be captured by \"Sendable\" class (arkts-sendable-imported-va…
71 …"rule": "Only imported variables can be captured by \"Sendable\" class (arkts-sendable-imported-va…
78 …"rule": "Only imported variables can be captured by \"Sendable\" class (arkts-sendable-imported-va…
85 …"rule": "Only imported variables can be captured by \"Sendable\" class (arkts-sendable-imported-va…
[all …]
Dshared_module.ts.json22 …"rule": "Only \"Sendable\" entities can be exported in shared module (arkts-shared-module-exports)"
29 …"rule": "Only \"Sendable\" entities can be exported in shared module (arkts-shared-module-exports)"
36 …"rule": "Only \"Sendable\" entities can be exported in shared module (arkts-shared-module-exports)"
43 …"rule": "Only \"Sendable\" entities can be exported in shared module (arkts-shared-module-exports)"
50 …"rule": "Only \"Sendable\" entities can be exported in shared module (arkts-shared-module-exports)"
57 …"rule": "Only \"Sendable\" entities can be exported in shared module (arkts-shared-module-exports)"
64 …"rule": "Only \"Sendable\" entities can be exported in shared module (arkts-shared-module-exports)"
71 …"rule": "Only \"Sendable\" entities can be exported in shared module (arkts-shared-module-exports)"
85 …"rule": "Only \"Sendable\" entities can be exported in shared module (arkts-shared-module-exports)"
92 …"rule": "Only \"Sendable\" entities can be exported in shared module (arkts-shared-module-exports)"
[all …]
Dsendable_decorator_limited.ts.json21 …"rule": "The \"@Sendable\" decorator can only be used on \"class\", \"function\", \"typeAlias\" (a…
27 …"rule": "The \"@Sendable\" decorator can only be used on \"class\", \"function\", \"typeAlias\" (a…
33 …"rule": "The \"@Sendable\" decorator can only be used on \"class\", \"function\", \"typeAlias\" (a…
39 …"rule": "The \"@Sendable\" decorator can only be used on \"class\", \"function\", \"typeAlias\" (a…
45 …"rule": "The \"@Sendable\" decorator can only be used on \"class\", \"function\", \"typeAlias\" (a…
51 …"rule": "The \"@Sendable\" decorator can only be used on \"class\", \"function\", \"typeAlias\" (a…
Dsendable_class_decorator.ts.json22 …"rule": "Only \"@Sendable\" decorator can be used on \"Sendable\" class (arkts-sendable-class-deco…
29 …"rule": "Only \"@Sendable\" decorator can be used on \"Sendable\" class (arkts-sendable-class-deco…
36 …"rule": "Only \"@Sendable\" decorator can be used on \"Sendable\" class (arkts-sendable-class-deco…
43 …"rule": "Only \"@Sendable\" decorator can be used on \"Sendable\" class (arkts-sendable-class-deco…
50 …"rule": "Only \"@Sendable\" decorator can be used on \"Sendable\" class (arkts-sendable-class-deco…
57 …"rule": "Only \"@Sendable\" decorator can be used on \"Sendable\" class (arkts-sendable-class-deco…
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/06.contexts_and_conversions/04.casting_contexts_and_conversions/
Dsequenced.params.yaml71 - { stype: Byte, sval: 'new Byte()', dtype: Short, tags: 'compile-only, negative' }
72 - { stype: Byte, sval: 'new Byte()', dtype: Char, tags: 'compile-only, negative' }
73 - { stype: Byte, sval: 'new Byte()', dtype: Int, tags: 'compile-only, negative' }
74 - { stype: Byte, sval: 'new Byte()', dtype: Long, tags: 'compile-only, negative' }
75 - { stype: Byte, sval: 'new Byte()', dtype: Float, tags: 'compile-only, negative' }
76 - { stype: Byte, sval: 'new Byte()', dtype: Double, tags: 'compile-only, negative' }
84 - { stype: Char, sval: "new Char(c'X')", dtype: Byte, tags: 'compile-only, negative' }
85 - { stype: Char, sval: "new Char(c'X')", dtype: Short, tags: 'compile-only, negative' }
86 - { stype: Char, sval: "new Char(c'X')", dtype: Int, tags: 'compile-only, negative' }
87 - { stype: Char, sval: "new Char(c'X')", dtype: Long, tags: 'compile-only, negative' }
[all …]
/arkcompiler/ets_frontend/ets2panda/linter/test_rules/
Drule71.ts.json22 …"rule": "The comma operator \",\" is supported only in \"for\" loops (arkts-no-comma-outside-loops…
29 …"rule": "The comma operator \",\" is supported only in \"for\" loops (arkts-no-comma-outside-loops…
36 …"rule": "The comma operator \",\" is supported only in \"for\" loops (arkts-no-comma-outside-loops…
43 …"rule": "The comma operator \",\" is supported only in \"for\" loops (arkts-no-comma-outside-loops…
50 …"rule": "The comma operator \",\" is supported only in \"for\" loops (arkts-no-comma-outside-loops…
57 …"rule": "The comma operator \",\" is supported only in \"for\" loops (arkts-no-comma-outside-loops…
64 …"rule": "The comma operator \",\" is supported only in \"for\" loops (arkts-no-comma-outside-loops…
71 …"rule": "The comma operator \",\" is supported only in \"for\" loops (arkts-no-comma-outside-loops…
78 …"rule": "The comma operator \",\" is supported only in \"for\" loops (arkts-no-comma-outside-loops…
85 …"rule": "The comma operator \",\" is supported only in \"for\" loops (arkts-no-comma-outside-loops…
[all …]
Drule71.ts.autofix.json22 …"rule": "The comma operator \",\" is supported only in \"for\" loops (arkts-no-comma-outside-loops…
29 …"rule": "The comma operator \",\" is supported only in \"for\" loops (arkts-no-comma-outside-loops…
36 …"rule": "The comma operator \",\" is supported only in \"for\" loops (arkts-no-comma-outside-loops…
43 …"rule": "The comma operator \",\" is supported only in \"for\" loops (arkts-no-comma-outside-loops…
50 …"rule": "The comma operator \",\" is supported only in \"for\" loops (arkts-no-comma-outside-loops…
57 …"rule": "The comma operator \",\" is supported only in \"for\" loops (arkts-no-comma-outside-loops…
71 …"rule": "The comma operator \",\" is supported only in \"for\" loops (arkts-no-comma-outside-loops…
85 …"rule": "The comma operator \",\" is supported only in \"for\" loops (arkts-no-comma-outside-loops…
92 …"rule": "The comma operator \",\" is supported only in \"for\" loops (arkts-no-comma-outside-loops…
106 …"rule": "The comma operator \",\" is supported only in \"for\" loops (arkts-no-comma-outside-loops…
[all …]
Drule55.ts.json22 … "rule": "Unary operators \"+\", \"-\" and \"~\" work only on numbers (arkts-no-polymorphic-unops)"
29 … "rule": "Unary operators \"+\", \"-\" and \"~\" work only on numbers (arkts-no-polymorphic-unops)"
36 … "rule": "Unary operators \"+\", \"-\" and \"~\" work only on numbers (arkts-no-polymorphic-unops)"
43 … "rule": "Unary operators \"+\", \"-\" and \"~\" work only on numbers (arkts-no-polymorphic-unops)"
50 … "rule": "Unary operators \"+\", \"-\" and \"~\" work only on numbers (arkts-no-polymorphic-unops)"
57 … "rule": "Unary operators \"+\", \"-\" and \"~\" work only on numbers (arkts-no-polymorphic-unops)"
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/15.semantic_rules/07.overloading_and_overriding/02.override-compatible_signatures/
Dpos.params.yaml20 tags: [compile-only]
25 tags: [compile-only]
35 tags: [compile-only, negative]
41 tags: [compile-only, negative]
47 tags: [compile-only, negative]
52 tags: [compile-only]
59 tags: [compile-only]
69 tags: [compile-only]
78 tags: [compile-only]
87 tags: [compile-only]
[all …]
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/15.semantic_rules/07.overloading_and_overriding/04.overloading_and_overriding_in_classes/
Daccess_modifier_over.params.yaml45 tags: negative, compile-only
54 tags: negative, compile-only
63 tags: negative, compile-only
72 tags: negative, compile-only
81 tags: negative, compile-only
90 tags: negative, compile-only
99 - doc: Internal member can be overridden by the internal one only
108 - doc: Internal member can be overridden by the internal one only
109 tags: negative, compile-only
117 - tags: negative, compile-only
[all …]
Dconstructor_overload.params.yaml73 - tags: negative, compile-only
79 - tags: negative, compile-only
83 - tags: negative, compile-only
93 - tags: negative, compile-only
105 - tags: negative, compile-only
117 - tags: negative, compile-only
127 - tags: negative, compile-only
137 - tags: negative, compile-only
147 - tags: negative, compile-only
/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/17.experimental_features/09.final_classes_and_methods/02.final_methods/
Dfm.params.yaml33 - tags: 'compile-only, negative'
44 - tags: 'compile-only, negative'
75 - tags: 'compile-only, negative'
91 - tags: 'compile-only, negative'
107 - tags: 'compile-only, negative'
125 - tags: 'compile-only, negative'
134 - tags: 'compile-only, negative'
143 - tags: 'compile-only, negative'
155 - tags: 'compile-only, negative'
166 - tags: 'compile-only, negative'
[all …]
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/15.semantic_rules/04.type_compatibility/
Dfunctions_compatibility.params.yaml17 - { assign: bars, call: 1, res: -1, tags: "compile-only, negative" }
18 - { assign: bars, call: "1, \"some str\"", res: -1, tags: "compile-only, negative" }
19 - { assign: barf, call: 1, res: -1, tags: "compile-only, negative" }
20 - { assign: barl, call: 1, res: -1, tags: "compile-only, negative" }
21 - { assign: barretstr, call: 1, res: "\"str\"", tags: "compile-only, negative" }
/arkcompiler/ets_runtime/test/sharedtest/sharedcollectionsexception/
Dexpect_output.txt64 Create with non-sendable element fail. err: BusinessError: Parameter error.Only accept sendable val…
66 Create from non-sendable iterator fail. err: BusinessError: Parameter error.Only accept sendable va…
67 Create from non-sendable element fail. err: BusinessError: Parameter error.Only accept sendable val…
68 Create from mapper: non-sendable element fail. err: BusinessError: Parameter error.Only accept send…
72 concat with non-sendable array fail.err: BusinessError: Parameter error.Only accept sendable value.…
73 concat with non-sendable element fail. err: BusinessError: Parameter error.Only accept sendable val…
75 fill array with non-sendable object and position fail. err: BusinessError: Parameter error.Only acc…
76 …dable object and start position fail. err: BusinessError: Parameter error.Only accept sendable val…
77 fill array with non-sendable object fail. err: BusinessError: Parameter error.Only accept sendable …
79 map array with non-sendable fail. err: BusinessError: Parameter error.Only accept sendable value., …
[all …]
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/06.contexts_and_conversions/04.casting_contexts_and_conversions/03.casting_conversions_from_union/
Dimpl.params.yaml29 tags: 'compile-only, negative'
39 tags: 'compile-only, negative'
82 tags: 'compile-only, negative'
94 tags: 'compile-only, negative'
113 tags: 'compile-only, negative'
118 tags: 'compile-only, negative'
129 tags: 'compile-only, negative'
134 tags: 'compile-only, negative'
151 tags: 'compile-only, negative'
161 tags: 'compile-only, negative'
[all …]
/arkcompiler/ets_frontend/arkguard/src/utils/
DMemoryUtils.ts44 // For ut only
49 // For ut only
54 // For ut only
59 // For ut only
64 // For ut only
69 // For ut only
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/17.experimental_features/09.final_classes_and_methods/01.final_classes/
Dfc.params.yaml30 - tags: 'compile-only, negative'
38 - tags: 'compile-only, negative'
46 - tags: 'compile-only, negative'
55 - tags: 'compile-only, negative'
63 - tags: 'compile-only, negative'
80 - tags: 'compile-only, negative'
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/05.generics/02.generic_instantiations/02.type_arguments/type_arguments_of_parameterized_declarations/
Dclass_variance_neg2.sts21 …ts available methods so it is only allowed to access methods that do not use T or do use ones with…
24 …cts available methods so it is only allowed to access methods that do not use T or do use ones wit…
26 tags: [compile-only, negative]
/arkcompiler/ets_frontend/ets2panda/linter/lib/
DCookBookMsg.ts39 cookBookTag[16] = 'Only one static block is supported (arkts-no-multiple-static-blocks)';
45 …'Type notation using "this" is only supported for methods, that return "this" explicitly (arkts-th…
68 cookBookTag[43] = 'Array literals must contain elements of only inferrable types (arkts-no-noninfer…
76 cookBookTag[51] = 'Classes cannot be specified in "implements" clause (arkts-implements-only-iface)…
78 cookBookTag[53] = 'Only "as T" syntax is supported for type casts (arkts-as-casts)';
80 cookBookTag[55] = 'Unary operators "+", "-" and "~" work only on numbers (arkts-no-polymorphic-unop…
85 cookBookTag[60] = '"typeof" operator is allowed only in expression contexts (arkts-no-type-query)';
96 cookBookTag[71] = 'The comma operator "," is supported only in "for" loops (arkts-no-comma-outside-…
125 …'It is possible to spread only arrays or classes derived from arrays into the rest parameter or ar…
130 cookBookTag[104] = 'Interfaces cannot extend classes (arkts-extends-only-class)';
[all …]
/arkcompiler/ets_frontend/ets2panda/linter/docs/rules/
Drecipe145.md19 n: number // Compile-time error only with strictPropertyInitialization
20 s: string // Compile-time error only with strictPropertyInitialization
23 // Compile-time error only with noImplicitReturns
33 let n: number = null // Compile-time error only with strictNullChecks
Drecipe151.md9 the static codebase. The only scenario where it is permited to use ``ESObject``
11 with ``ESObject`` type is also limited. Such variables can only be initialized
15 of type ``ESObject`` can only be passed to interop calls and assigned to other
28 let e0: ESObject = foo(); // CTE - ``ESObject`` typed variable can only be local
52 - Recipe 060: ``typeof`` operator is allowed only in expression contexts (``arkts-no-type-query``)
Drecipe21.md1 # ``this`` typing is supported only for methods with explicit ``this`` return
7 ArkTS allows type notation using the ``this`` keyword only for a return type
9 Such methods can only return ``this`` explicitly (``return this``).
/arkcompiler/runtime_core/static_core/tests/cts-generator/cts-template/
Dthrow.yaml61 runner-options: ['compile-only']
558 runner-options: ['verifier-only', 'verifier-config']
561 runner-options: ['verifier-only', 'verifier-config']
567 runner-options: ['verifier-only', 'verifier-config']
609 runner-options: ['verifier-only', 'verifier-config']
612 runner-options: ['verifier-only', 'verifier-config']
615 runner-options: ['verifier-only', 'verifier-config']
621 runner-options: ['verifier-only', 'verifier-config']
723 runner-options: ['verifier-only', 'verifier-config']
726 runner-options: ['verifier-only', 'verifier-config']
[all …]

12345678910>>...106