Remove the 'mark' concept, no longer necessary.

This commit is contained in:
Nigel Tao committed 2017-10-02 14:02:13 +11:00
1 parent 4aa9fce311
commit 6f132a74e2
14 files changed
+83 -176

No files matched your search

+1 -1
View File
@@ -519,7 +519,7 @@ func (n *TypeExpr) HasPointers() bool {
case 0:
// TODO: add t.KeyReader1, after figuring out how limit's should really work.
switch n.id1.Key() {
case t.KeyBuf1, t.KeyBuf1Mark, t.KeyWriter1, t.KeyBuf2:
case t.KeyBuf1, t.KeyWriter1, t.KeyBuf2:
return true
}
case t.KeyPtr, t.KeyNptr, t.KeyColon: