Commit 98c42d7d authored by Xavier Thompson's avatar Xavier Thompson

Evaluate subscript index first to prevent nested cypclass lock acquisition

parent 321b3d1e
......@@ -3597,7 +3597,7 @@ class IndexNode(_IndexingBaseNode):
# is_fused_index boolean Whether the index is used to specialize a
# c(p)def function
subexprs = ['base', 'index']
subexprs = ['index', 'base'] # evaluate the index first
type_indices = None
is_subscript = True
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment