mirror of
https://github.com/ddidderr/wuffs.git
synced 2026-11-22 08:47:28 +01:00
Remove p[i] for ptr-typed p
This commit is contained in:
1 parent
1435f1d43c
commit
877b4f648f
4 files changed
+2
-13
No files matched your search
@@ -727,11 +727,6 @@ func (n *TypeExpr) IsArrayType() bool {
|
||||
return n.id0 == t.IDArray
|
||||
}
|
||||
|
||||
func (n *TypeExpr) IsPtrType() bool {
|
||||
// TODO: nptr??
|
||||
return n.id0 == t.IDPtr
|
||||
}
|
||||
|
||||
func (n *TypeExpr) IsSliceType() bool {
|
||||
return n.id0 == t.IDSlice
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user