0106: Expected a function argument type
Compiler expected a valid identifier to follow a colon (:
) in the function signature but found something else.
E.g. consider this example:
value
parameter must have a type, so the compiler expected something like:
Possible solutions:
add one of the known types after the colon:
if a function does not have any arguments, use empty braces
()
or omit them entirely:
Last updated