Skip to content
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions Python/codegen.c
Original file line number Diff line number Diff line change
Expand Up @@ -825,6 +825,9 @@ codegen_process_deferred_annotations(compiler *c, location loc)
void *key = (void *)((uintptr_t)ste->ste_id + 1);

// Get the first annotation location
if (PyList_GET_SIZE(deferred_anno) == 0) {
goto error;
}
PyObject* ptr = PyList_GET_ITEM(deferred_anno, 0);
stmt_ty st = (stmt_ty)PyLong_AsVoidPtr(ptr);
if (st == NULL) {
Expand Down
Loading