diff options
Diffstat (limited to 'docs/guide')
| -rw-r--r-- | docs/guide/type.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/guide/type.md b/docs/guide/type.md index 8bb34424..ede231d7 100644 --- a/docs/guide/type.md +++ b/docs/guide/type.md @@ -330,7 +330,7 @@ Here's a snippet to take an existing function, and set the confidence of all the old = current_function.function_type new_parameters = [] for vars, params in zip(current_function.parameter_vars, old.parameters): - new_type = vars + new_type = vars.type new_type.confidence = 256 #max-confidence new_parameters.append(FunctionParameter(new_type, params.name, params.location)) |
