Skip to content

Commit f3acf16

Browse files
committed
fix: use tuple when calling getitem
1 parent e4b271c commit f3acf16

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

KLR/Trace/NKI.lean

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,7 @@ partial def expr' (e' : Expr') : Trace Term := do
197197
let e <- expr e
198198
let ix <- ix.mapM index
199199
if let some m <- method? e "__getitem__" then
200-
fnCall m ix []
200+
fnCall m [.tuple ix] []
201201
else
202202
access e ix
203203
| .binOp op l r =>

0 commit comments

Comments
 (0)