mirror of
https://github.com/ddidderr/wuffs.git
synced 2026-11-24 16:52:18 +01:00
Remove ast.NewExpr statusPkg arg
This commit is contained in:
1 parent
7dc73a856a
commit
ed48514f30
11 files changed
+39
-43
No files matched your search
+2
-2
@@ -359,8 +359,8 @@ func (q *checker) tcheckExprOther(n *a.Expr, depth uint32) error {
|
||||
return nil
|
||||
|
||||
} else if id1.IsDQStrLiteral(q.tm) {
|
||||
if _, ok := q.c.statuses[n.StatusQID()]; !ok {
|
||||
return fmt.Errorf("check: unrecognized status %s", n.StatusQID().Str(q.tm))
|
||||
if _, ok := q.c.statuses[t.QID{0, n.Ident()}]; !ok {
|
||||
return fmt.Errorf("check: unrecognized status %s", n.Ident().Str(q.tm))
|
||||
}
|
||||
n.SetMType(typeExprStatus)
|
||||
return nil
|
||||
|
||||
Reference in new issue
Block a user