diff options
| author | Jordan Wiens <jordan@psifertex.com> | 2020-06-06 15:42:51 -0400 |
|---|---|---|
| committer | Jordan Wiens <jordan@psifertex.com> | 2020-06-06 15:42:51 -0400 |
| commit | 6543b216981a407f659d1922976f8425069073c1 (patch) | |
| tree | 755dba49c90d22dc40d56546a74f81763f65a8ca /docs/guide | |
| parent | d910276311da0f04c6ead2a42217602cac527ca6 (diff) | |
fix documentaiton example
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)) |
