mirror of
https://github.com/ddidderr/wuffs.git
synced 2026-11-23 16:52:18 +01:00
Add pkg to ast Expr nodes
This commit is contained in:
1 parent
8b4ba30a36
commit
139bcfa7f1
5 files changed
+25
-7
No files matched your search
+1
-1
@@ -523,7 +523,7 @@ func (q *checker) tcheckExprOther(n *a.Expr, depth uint32) error {
|
||||
case t.KeyError, t.KeyStatus, t.KeySuspension:
|
||||
nominalKeyword := n.Operator()
|
||||
declaredKeyword := t.ID(0)
|
||||
if s, ok := q.c.statuses[t.QID{0, n.Ident()}]; ok {
|
||||
if s, ok := q.c.statuses[n.StatusQID()]; ok {
|
||||
declaredKeyword = s.Status.Keyword()
|
||||
} else {
|
||||
msg, _ := t.Unescape(n.Ident().Str(q.tm))
|
||||
|
||||
Reference in new issue
Block a user