summaryrefslogtreecommitdiff
path: root/py/repl.c
diff options
context:
space:
mode:
authorJeff Epler <jepler@gmail.com>2020-03-01 09:40:43 -0600
committerDamien George <damien@micropython.org>2021-05-30 10:38:48 +1000
commitf2dbc9102251f092e93b7c87cd8ffa5e9e5b880b (patch)
treef1f42bde0323d14ada0f8a057ac2956833a500eb /py/repl.c
parenta60ad3364132b9c4a30b20cd91fd5cd1ac965618 (diff)
py/compile: Raise an error on async with/for outside an async function.
A simple reproducer is: async for x in (): x Before this change, it would cause an assertion error in mpy-cross and micropython-coverage.
Diffstat (limited to 'py/repl.c')
0 files changed, 0 insertions, 0 deletions