Rename io_writer.history_available

This commit is contained in:
Nigel Tao committed 2020-08-13 23:29:59 +10:00
1 parent be8542e313
commit 3c3d58bfe7
6 files changed
+39 -39

No files matched your search

+1 -1
View File
@@ -328,7 +328,7 @@ func (g *gen) writeBuiltinIOWriter(b *buffer, recv *a.Expr, method t.ID, args []
b.printf(", ((uint64_t)(%s%s - %s%s)))", iopPrefix, name, io0Prefix, name)
return nil
case t.IDHistoryAvailable, t.IDMark:
case t.IDHistoryLength, t.IDMark:
b.printf("((uint64_t)(%s%s - %s%s))", iopPrefix, name, io0Prefix, name)
return nil