Rename io_reader.available_valid_utf_8

This commit is contained in:
Nigel Tao committed 2020-08-13 23:15:28 +10:00
1 parent 0291a47dc8
commit 79b923c322
4 files changed
+27 -27

No files matched your search

+1 -1
View File
@@ -168,7 +168,7 @@ func (g *gen) writeBuiltinIOReader(b *buffer, recv *a.Expr, method t.ID, args []
}
switch method {
case t.IDAvailableValidUTF8:
case t.IDValidUTF8Length:
name, err := g.ioRecvName(recv)
if err != nil {
return err