Add a writer1.is_marked method.

This commit is contained in:
Nigel Tao committed 2017-11-09 10:38:24 +11:00
1 parent 545f043d94
commit e2ce9f1b1d
7 files changed
+38 -5

No files matched your search

+1
View File
@@ -785,6 +785,7 @@ func isInDst(tm *t.Map, n *a.Expr, methodName t.Key, nArgs int) bool {
methodName != t.KeyCopyFromSlice32 &&
methodName != t.KeyCopyFromSlice &&
methodName != t.KeySinceMark &&
methodName != t.KeyIsMarked &&
methodName != t.KeyMark &&
methodName != t.KeyLimit
// TODO: check that n.Args() is "(x:bar)".