fun getTupleLastGetter(): tuple -> X { return tupleLast; } fun failTypeMismatch() { var t = createEmptyTuple(); var c: cell = getTupleLastGetter()(t); } /** @compilation_should_fail @stderr can not assign `int` to variable of type `cell` */