base: add io_writer.limited_copy_etc_return_cusp

This commit is contained in:
Nigel Tao committed 2023-11-19 10:32:59 +11:00
1 parent 7fb80a047b
commit e517ca4bee
6 files changed
+88 -5

No files matched your search

+2 -1
View File
@@ -1211,7 +1211,8 @@ func (q *checker) bcheckExprCallSpecialCases(n *a.Expr, depth uint32) (bounds, e
return bounds{}, err
}
} else if method == t.IDLimitedCopyU32FromHistoryFast {
} else if (method == t.IDLimitedCopyU32FromHistoryFast) ||
(method == t.IDLimitedCopyU32FromHistoryFastReturnCusp) {
if err := q.canLimitedCopyU32FromHistoryFast(recv, n.Args(), nil, one, nil); err != nil {
return bounds{}, err
}