summaryrefslogtreecommitdiff
path: root/tests/basics/assign_expr.py.exp
AgeCommit message (Collapse)Author
2022-12-16py/emitnative: Initialise locals as Python object type for native code.Damien George
In @micropython.native code the types of variables and expressions are always Python objects, so they can be initialised as such. This prevents problems with compiling optimised code like while-loops where a local may be referenced before it is assigned to. Signed-off-by: Damien George <damien@micropython.org>
2020-06-16tests/basics: Add tests for assignment operator :=.Damien George