And we found our first post-release bug: Fix tupleiterator.__init__

This commit is contained in:
K. Lange 2021-01-31 09:20:51 +09:00
parent 4eceb98ffe
commit df25225c64

View File

@ -3028,7 +3028,7 @@ struct TupleIter {
static KrkValue _tuple_iter_init(int argc, KrkValue argv[]) {
struct TupleIter * self = (struct TupleIter *)AS_OBJECT(argv[0]);
self->myTuple = argv[0];
self->myTuple = argv[1];
self->i = 0;
return argv[0];
}