Skip to content

Fix ExtSlice crash

Sven Brauch requested to merge fix-slice-crash into 5.6

In an expression like A[1:3,5], the dims of the slice are "1:3" and "5". These are, against our assumptions, not Expressions, they are Slices: "1:3" is not an Expression (it is not valid outside a slice).

So, we cannot represent this kind of slice with a tuple, it needs a separate AST node kind.

BUG:426292

Merge request reports