E5012 Runtime Errors

multi-assign-count-mismatch

assignment value count mismatch

When this occurs

`a, b = getOne()`

Example error message

error[E5012]: expected 2 values, got 1

How to fix

Ensure the number of variables matches the number of values in multiple assignment.

Related errors