Home
last modified time | relevance | path

Searched full:required (Results 1 – 25 of 11130) sorted by relevance

12345678910>>...446

/arkcompiler/ets_frontend/ets2panda/test/ast/parser/ets/
Drequired_multiple_fields.ets9 * Unless required by applicable law or agreed to in writing, software
29 let x: Required<A> = /* @@ label1 */{i: 1.9,j :"somestr"};
30 let x2: Required<A> = /* @@ label2 */{i: 1.9};
31 let x3: Required<I> = /* @@ label3 */{i: 1.9,j :"somestr"};
32 let x4: Required<I> = /* @@ label4 */{i: 1.9};
35 /* @@@ label1 Error TypeError: Class property 'k' needs to be initialized for Required<A>. */
36 /* @@@ label2 Error TypeError: Class property 'j' needs to be initialized for Required<A>. */
37 /* @@@ label2 Error TypeError: Class property 'k' needs to be initialized for Required<A>. */
38 /* @@@ label3 Error TypeError: Class property 'k' needs to be initialized for Required<I>. */
39 /* @@@ label4 Error TypeError: Class property 'j' needs to be initialized for Required<I>. */
[all …]
Dreserved_type.ets9 * Unless required by applicable law or agreed to in writing, software
16 class Required {
29 let i : Required = new Required()
32 let l = new Required<Required>()
37 /* @@? 16:16 Error SyntaxError: 'Required' 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 */
43 /* @@? 32:26 Error SyntaxError: 'Required' is reserved and cannot be used as a variable/type name */
Drequired_multiple_fields_2.ets9 * Unless required by applicable law or agreed to in writing, software
23 let x: Required<A> = {i: 1.9, j :"somestr"};
24 let x2: Required<A> = {i: 1.9, j :"somestr", /* @@ label1 */K :100};
25 let x3: Required<A> = /* @@ label2 */{j :"somestr", j :"somestr"};
29 /* @@@ label2 Error TypeError: Class property 'i' needs to be initialized for Required<A>. */
/arkcompiler/ets_frontend/ets2panda/linter/src/testRunner/
DTestResult.ts9 * Unless required by applicable law or agreed to in writing, software
40 start: yup.number().required(),
41 end: yup.number().required(),
52 line: yup.number().required(),
53 column: yup.number().required(),
54 endLine: yup.number().required(),
55 endColumn: yup.number().required(),
56 problem: yup.string().required(),
58 rule: yup.string().required(),
59 severity: yup.string().required(),
[all …]
/arkcompiler/runtime_core/static_core/scripts/intrusive-testing/
Dbindings_schema.yml9 # Unless required by applicable law or agreed to in writing, software
18 declaration: regex('^([^,]+)(,[^,]+)*$', name='List of header files', required=True)
23 file: regex('^(/?[^/]+)(/[^/]+)*$', name='Path to file', required=True)
24 … source: regex('^(/?[^/]+)(/[^/]+)*$', name='Path to source file for header file', required=False)
25 class: str(required=False)
26 method: str(required=False)
27 index: num(required=True)
28 code: str(required=True)
/arkcompiler/ets_frontend/ets2panda/linter/test/main/
Dno_import_concurrency.ets.arkts2.json10 "Unless required by applicable law or agreed to in writing, software",
24 … "rule": "Import Concurrency is not required (arkts-limited-stdlib-no-import-concurrency)",
34 … "rule": "Import Concurrency is not required (arkts-limited-stdlib-no-import-concurrency)",
44 … "rule": "Import Concurrency is not required (arkts-limited-stdlib-no-import-concurrency)",
54 … "rule": "Import Concurrency is not required (arkts-limited-stdlib-no-import-concurrency)",
64 … "rule": "Import Concurrency is not required (arkts-limited-stdlib-no-import-concurrency)",
74 … "rule": "Import Concurrency is not required (arkts-limited-stdlib-no-import-concurrency)",
84 … "rule": "Import Concurrency is not required (arkts-limited-stdlib-no-import-concurrency)",
94 … "rule": "Import Concurrency is not required (arkts-limited-stdlib-no-import-concurrency)",
104 … "rule": "Import Concurrency is not required (arkts-limited-stdlib-no-import-concurrency)",
Dts_ignore.ets.json10 "Unless required by applicable law or agreed to in writing, software",
44 …: "Switching off type checks with in-place comments is not allowed (arkts-strict-typing-required)",
54 …: "Switching off type checks with in-place comments is not allowed (arkts-strict-typing-required)",
64 …: "Switching off type checks with in-place comments is not allowed (arkts-strict-typing-required)",
74 …: "Switching off type checks with in-place comments is not allowed (arkts-strict-typing-required)",
84 …: "Switching off type checks with in-place comments is not allowed (arkts-strict-typing-required)",
94 …: "Switching off type checks with in-place comments is not allowed (arkts-strict-typing-required)",
104 …: "Switching off type checks with in-place comments is not allowed (arkts-strict-typing-required)",
114 …: "Switching off type checks with in-place comments is not allowed (arkts-strict-typing-required)",
124 …: "Switching off type checks with in-place comments is not allowed (arkts-strict-typing-required)",
Dno_import_concurrency.ets.autofix.json10 "Unless required by applicable law or agreed to in writing, software",
31 … "rule": "Import Concurrency is not required (arkts-limited-stdlib-no-import-concurrency)",
48 … "rule": "Import Concurrency is not required (arkts-limited-stdlib-no-import-concurrency)",
65 … "rule": "Import Concurrency is not required (arkts-limited-stdlib-no-import-concurrency)",
82 … "rule": "Import Concurrency is not required (arkts-limited-stdlib-no-import-concurrency)",
99 … "rule": "Import Concurrency is not required (arkts-limited-stdlib-no-import-concurrency)",
116 … "rule": "Import Concurrency is not required (arkts-limited-stdlib-no-import-concurrency)",
133 … "rule": "Import Concurrency is not required (arkts-limited-stdlib-no-import-concurrency)",
150 … "rule": "Import Concurrency is not required (arkts-limited-stdlib-no-import-concurrency)",
167 … "rule": "Import Concurrency is not required (arkts-limited-stdlib-no-import-concurrency)",
Ddefault_required_args.ets.arkts2.json10 "Unless required by applicable law or agreed to in writing, software",
24 …lt parameters must be placed after mandatory parameters (arkts-default-args-behind-required-args)",
44 …lt parameters must be placed after mandatory parameters (arkts-default-args-behind-required-args)",
64 …lt parameters must be placed after mandatory parameters (arkts-default-args-behind-required-args)",
74 …lt parameters must be placed after mandatory parameters (arkts-default-args-behind-required-args)",
134 …lt parameters must be placed after mandatory parameters (arkts-default-args-behind-required-args)",
144 …lt parameters must be placed after mandatory parameters (arkts-default-args-behind-required-args)",
174 …lt parameters must be placed after mandatory parameters (arkts-default-args-behind-required-args)",
184 …lt parameters must be placed after mandatory parameters (arkts-default-args-behind-required-args)",
194 …lt parameters must be placed after mandatory parameters (arkts-default-args-behind-required-args)",
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/05.generics/03.utility_types/02.required_utility_type/
Dmethod_excluded_from_required.params.yaml8 # Unless required by applicable law or agreed to in writing, software
22 let a: Required<AC> = { i: 1.1 }
31 let a: Required<C> = { i: 1.1 }
40 let a: Required<I> = { i: 1.1 }
54 let a: Required<A> = { i: 1.1 }
68 let a: Required<C> = { i: 1.1 }
81 let a: Required<C> = { i: 1.1, j: "str2" }
94 let a: Required<C> = { i: 1.1, j: "str2" }
107 let a: Required<B> = { i: 1.1, j: "str2" }
120 let a: Required<B> = { i: 1.1, j: "str2" }
Dtype.ets9 Unless required by applicable law or agreed to in writing, software
21 desc: Using custom type of Required<T>
30 type T = Required<A>
34 type RP = Required<R>
36 function foo(i: Required<A>) {
Drequired_example.ets9 Unless required by applicable law or agreed to in writing, software
18 desc: Type Required<T> is opposite to Partial<T>, and constructs a type with all properties of T se…
27 let c: Required<Issue> = { title: "aa", description: "bb" }
Drequired_no_fields.params.yaml8 # Unless required by applicable law or agreed to in writing, software
19 let a: Required<AC> = { }
24 let a: Required<C> = { }
29 let a: Required<I> = { }
Drequired_example_neg.ets9 Unless required by applicable law or agreed to in writing, software
19 …Type Required<T> is opposite to Partial<T>, and constructs a type with all properties of T set to
29 let c: Required<Issue> = { title: "aa" }
Drequired_compatibility_neg.ets9 Unless required by applicable law or agreed to in writing, software
19 desc: Type T is not compatible (see Type Compatibility) with Required<T>, and variables of Required
30 let a: Required<A> = {i: 1.9, j: "some str"}
Drequired_compatibility.ets9 Unless required by applicable law or agreed to in writing, software
19 desc: Type T is not compatible (see Type Compatibility) with Required<T>, and variables of Required
29 let a: Required<A> = {i: 1.9, j: "some str"}
/arkcompiler/ets_frontend/ets2panda/test/ast/compiler/ets/type_error_processing/
Dtype_handlers.ets9 * Unless required by applicable law or agreed to in writing, software
34 type T11 = Required<>
35 type T12 = Required<A>
36 type T13 = Required<A, A>
37 type T14 = Required<A, int>
38 type T15 = Required<int>
50 /* @@? 34:20 Error TypeError: Invalid number of type parameters for Required type, should be 1. */
51 /* @@? 36:20 Error TypeError: Invalid number of type parameters for Required type, should be 1. */
52 /* @@? 37:20 Error TypeError: Invalid number of type parameters for Required type, should be 1. */
/arkcompiler/ets_frontend/ets2panda/test/ast/compiler/ets/annotation_tests/
DannotationUsage_missing_param_for_function_param.ets9 * Unless required by applicable law or agreed to in writing, software
28 /* @@? 22:16 Error TypeError: The required field 'testProperty2' must be specified. Fields without …
29 /* @@? 22:16 Error TypeError: The required field 'testProperty1' must be specified. Fields without …
30 /* @@? 22:32 Error TypeError: The required field 'testProperty1' must be specified. Fields without …
31 /* @@? 25:16 Error TypeError: The required field 'testProperty2' must be specified. Fields without …
32 /* @@? 25:53 Error TypeError: The required field 'testProperty1' must be specified. Fields without …
DannotationUsage_missing_arguements02.ets9 * Unless required by applicable law or agreed to in writing, software
29 /* @@? 20:2 Error TypeError: The required field 'testProperty2' must be specified. Fields without d…
30 /* @@? 23:2 Error TypeError: The required field 'testProperty2' must be specified. Fields without d…
31 /* @@? 23:2 Error TypeError: The required field 'testProperty1' must be specified. Fields without d…
32 /* @@? 25:6 Error TypeError: The required field 'testProperty1' must be specified. Fields without d…
/arkcompiler/ets_frontend/ets2panda/test/ast/compiler/ets/
DrequiredType_8_neg.ets9 * Unless required by applicable law or agreed to in writing, software
21 let req_a: Required<A> = new /* @@ label */Required<A>();
24 /* @@@ label Error TypeError: Required type can be instantiated only with object literal */
/arkcompiler/ets_frontend/ets2panda/test/compiler/ets/
DrequiredType_11.ets9 * Unless required by applicable law or agreed to in writing, software
21 fld: Required<T>;
25 let req_a: Required<A<Required<B>>> = {fld: {b_fld: 66}};
DrequiredType_9.ets9 * Unless required by applicable law or agreed to in writing, software
22 fld2: Required<T>;
23 fld3: Required<T|undefined>
27 let req_a: Required<A<B>> = {fld: new B(), fld2: {b_fld: 4}, fld3: {b_fld: 9}};
/arkcompiler/runtime_core/static_core/tests/irtoc-interpreter-tests/irtoc-tag/
Dgenerate-tag.rb9 # Unless required by applicable law or agreed to in writing, software
31 opts.on('-t', '--template FILE', 'Path to template erb file to generate tests (required)')
32 opts.on('-y', '--yaml FILE', 'Path to template yaml file to generate tests (required)')
33 opts.on('-i', '--isapi ISAPI_FILE', 'Path to isapi.rb file to use isapi (required)')
34 opts.on('-o', '--output DIR', 'Path to directory where tests will be generated (required)')
35 opts.on('-s', '--isa FILE', 'Path to isa.rb file to connect with api (required)')
/arkcompiler/runtime_core/static_core/plugins/ets/tests/runtime/tooling/sampler/managed/
Dsampler_module_file_check.py12 # Unless required by applicable law or agreed to in writing, software
39 required = parser.add_argument_group("required arguments")
40 required.add_argument("--file", type=str, required=True)
41 required.add_argument("--bindir", type=str, required=True)
/arkcompiler/ets_frontend/ets2panda/test/runtime/ets/
Dkeyof_class_interface.ets9 * Unless required by applicable law or agreed to in writing, software
34 let x5:Required<B> = {field1:"field1"};
35 let x6:Required<B> = {field1:"foo"};
47 let i5:Required<I> = {field1:"field1"};
48 let i6:Required<I> = {field1:"foo"};

12345678910>>...446