Commit e6d71f56 authored by Mark Florisson's avatar Mark Florisson

Fix ellipsis no-op check in AnalyseExpressionsTransform

parent c0c68d8a
......@@ -1778,8 +1778,7 @@ class AnalyseExpressionsTransform(CythonTransform):
if node.is_fused_index and node.type is not PyrexTypes.error_type:
node = node.base
if node.memslice_ellipsis_noop:
elif node.memslice_ellipsis_noop:
# memoryviewslice[...] expression, drop the IndexNode
node = node.base
......
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