[function-types] Fix syntax errors.