mirror of
https://github.com/ddidderr/wuffs.git
synced 2026-11-24 16:52:18 +01:00
Set placeholder MBounds, not just MType
This commit is contained in:
1 parent
d796fc75b2
commit
6ede44e474
3 files changed
+26
-21
No files matched your search
@@ -66,6 +66,11 @@ var (
|
||||
typeExprTableU8 = a.NewTypeExpr(t.IDTable, 0, 0, nil, nil, typeExprU8)
|
||||
)
|
||||
|
||||
func setPlaceholderMBoundsMType(n *a.Node) {
|
||||
n.SetMBounds(a.Bounds{zero, zero})
|
||||
n.SetMType(typeExprPlaceholder)
|
||||
}
|
||||
|
||||
// typeMap maps from variable names (as token IDs) to types.
|
||||
type typeMap map[t.ID]*a.TypeExpr
|
||||
|
||||
|
||||
Reference in new issue
Block a user