lang: more anticipating io_forget_history

This commit is contained in:
Nigel Tao committed 2024-02-09 15:03:44 +11:00
1 parent 6482ba3923
commit 9fb3859488
5 files changed
+63 -55

No files matched your search

+2
View File
@@ -164,6 +164,8 @@ func (q *checker) tcheckStatement(n *a.Node) error {
switch n.Keyword() {
case t.IDIOBind:
arg1Typ = typeExprSliceU8
case t.IDIOForgetHistory:
// No-op.
case t.IDIOLimit:
arg1Typ = typeExprU64
}