Home
last modified time | relevance | path

Searched full:formal (Results 1 – 25 of 67) sorted by relevance

123

/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/07.expressions/32.lambda_expression/02.lambda_body/
Dbody.params.yaml97 - desc: capture formal parameter
103 assertEQ(f(4), 5, "use formal parameter failed")
105 - desc: capture formal parameter
112 assertEQ(f(6), 7, "modify formal parameter failed")
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/07.expressions/32.lambda_expression/01.lambda_signature/
Dnegative.params.yaml16 - desc: A lambda expression declares two formal parameters with the same name
20 …- desc: A formal parameter contains no type provided, and the type cannot be derived by type infer…
/arkcompiler/ets_frontend/ets2panda/test/ast/parser/ets/
DInvalidParserImpl.ets26 /* @@? 18:5 Error SyntaxError: Getter must not have formal parameters. */
27 /* @@? 19:1 Error SyntaxError: Setter must have exactly one formal parameter. */
Daccessor_with_this_param.ets37 /* @@? 21:5 Error SyntaxError: Getter must not have formal parameters. */
39 /* @@? 24:1 Error SyntaxError: Setter must have exactly one formal parameter. */
Dsetter_with_more_than_one_formal_parameter.ets20 /* @@@ label Error SyntaxError: Setter must have exactly one formal parameter. */
Drest_parameter_04.ets21 /* @@@ label Error SyntaxError: Rest parameter must be the last formal parameter. */
Dspreadexpr_in_newexpr_neg01.ets30 /* @@? 18:31 Error SyntaxError: Rest parameter must be the last formal parameter. */
Dunexpected_token_31.ets24 /* @@? 16:18 Error SyntaxError: Rest parameter must be the last formal parameter. */
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/15.semantic_rules/07.overloading_and_overriding/01.overload-equivalent_signatures/
Dneg.params.yaml31 // naming formal parameters or type variables differently
37 // naming formal parameters or return types differently
94 // different formal parameter names
/arkcompiler/ets_frontend/es2panda/test/parser/js/
Dtest-object-expression1-expected.txt1 SyntaxError: Setter must have exactly one formal parameter [test-object-expression1.js:19:1]
/arkcompiler/runtime_core/static_core/verification/
Dmessages.yaml117 … In a call to '${name}'. ${maybe_reg}Actual type: '${actual_type}'. Formal type: '${formal_type}'.
342 Cannot make a call to '${name}'. ${register} is physically incompatible with formal parameter.
349 …Cannot make a call to '${name}'. Formal parameter is of type 'Bot', but actual parameter is of typ…
356 Warning: formal and actual parameters are of type '${type}'.
361 message: "Warning: formal parameter is of type 'Top'. Accepted any type of actual parameter."
368 …Warning: formal type is '${formal_type}' but actual is '${actual_type}'. Actual type is an inexact…
378 …is not compatible with formal lambda type '${formal_type}' (physical type '${physical_formal_type}…
391 Formal type: '${formal_type}'.
/arkcompiler/ets_frontend/ets2panda/test/ast/parser/ts/
Dtest-func-param4.ts20 /* @@@ label Error SyntaxError: Getter must not have formal parameters. */
/arkcompiler/ets_frontend/ets2panda/test/ast/parser/js/
Dtest-object-expression1.js21 /* @@@ label Error SyntaxError: Setter must have exactly one formal parameter. */
DInvalidExpressions.js92 /* @@@ label19 Error SyntaxError: Insufficient formal parameter in arrow function. */
100 /* @@@ label23 Error SyntaxError: Rest parameter must be the last formal parameter. */
112 /* @@@ label31 Error SyntaxError: Getter must not have formal parameters. */
113 /* @@@ label32 Error SyntaxError: Setter must have exactly one formal parameter. */
140 /* @@@ label50 Error SyntaxError: Rest parameter must be the last formal parameter. */
Dtest-object-expression2.js25 /* @@? 18:15 Error SyntaxError: Getter must not have formal parameters. */
Dunexpected_token_3.js18 /* @@? 16:6 Error SyntaxError: Rest parameter must be the last formal parameter. */
Dtrailing_comma_1.js39 /* @@@ label Error SyntaxError: Rest parameter must be the last formal parameter. */
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/09.classes/09.constructor_declaration/01.formal_parameters/
Dconstructor_declaration_with_parameters.ets18 assert: The formal parameters of a constructor are identical in syntax and semantics to those of a …
/arkcompiler/ets_frontend/ets2panda/test/ast/parser/ets/FixedArray/
Drest_parameter_04.ets21 /* @@@ label Error SyntaxError: Rest parameter must be the last formal parameter. */
Dspreadexpr_in_newexpr_neg01.ets30 /* @@? 18:41 Error SyntaxError: Rest parameter must be the last formal parameter. */
Dunexpected_token_31.ets24 /* @@? 16:18 Error SyntaxError: Rest parameter must be the last formal parameter. */
/arkcompiler/ets_frontend/ets2panda/test/ast/compiler/ets/
Dbroken_setter.ets30 /* @@? 23:5 Error SyntaxError: Setter must have exactly one formal parameter. */
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/09.classes/01.class_declaration/enclosing_instances/
Duse_instance_variables_in_inner_class.ets20 assert: Any local variable, formal parameter, or exception and panic parameter used but not declare…
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates_deprecated/07.expressions/01.evaluation_of_expressions/05.evaluation_of_other_expressions/
Dexc.ets20 exception object is an instanceof the type of the formal parameter of
/arkcompiler/runtime_core/static_core/plugins/ets/doc/CompilerErrorsTemporary/
Dsyntax.yml245 message: "Getter must not have formal parameters."
265 message: "Setter must have exactly one formal parameter."
269 …message: "Insufficient formal parameter in arrow function." // AVK: Need to see how many parameter…
273 …message: "Illegal await-expression in formal parameters of async function." // AVK: what is illega…
281 message: "Rest parameter must be the last formal parameter."
733 message: "Insufficient formal parameter in arrow function."

123