summaryrefslogtreecommitdiffstatshomepage
path: root/tests/basics/class_getattr.py
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2018-12-11 00:52:33 +1100
committerDamien George <damien.p.george@gmail.com>2018-12-13 01:26:55 +1100
commit814d580a15c5f7478f173f621809155a369e07fa (patch)
tree958b1e30cf0a7bda0786e25f3d112f11a15e0dc8 /tests/basics/class_getattr.py
parent6bf8ecfe3ab08c702c4e002dc150fceed31176e6 (diff)
downloadmicropython-814d580a15c5f7478f173f621809155a369e07fa.tar.gz
micropython-814d580a15c5f7478f173f621809155a369e07fa.zip
tools/mpy-tool.py: Fix calc of opcode size for opcodes with map caching.
Following an equivalent fix to py/bc.c. The reason the incorrect values for the opcode constants were not previously causing a bug is because they were never being used: these opcodes always have qstr arguments so the part of the code that was comparing them would never be reached. Thanks to @malinah for finding the problem and providing the initial patch.
Diffstat (limited to 'tests/basics/class_getattr.py')
0 files changed, 0 insertions, 0 deletions