mirror of
https://github.com/ddidderr/wuffs.git
synced 2026-11-23 16:52:18 +01:00
Rename PackageOrDecorator to Decorator.
This commit is contained in:
1 parent
aed3aa9925
commit
ebf3713555
6 files changed
+24
-24
No files matched your search
@@ -293,7 +293,7 @@ func (q *checker) bcheckAssignment(lhs *a.Expr, op t.ID, rhs *a.Expr) error {
|
||||
}
|
||||
|
||||
func (q *checker) bcheckAssignment1(lhs *a.Expr, op t.ID, rhs *a.Expr) error {
|
||||
switch lhs.MType().PackageOrDecorator().Key() {
|
||||
switch lhs.MType().Decorator().Key() {
|
||||
case t.KeyPtr:
|
||||
// TODO: handle.
|
||||
return nil
|
||||
@@ -805,7 +805,7 @@ func (q *checker) bcheckExprAssociativeOp(n *a.Expr, depth uint32) (*big.Int, *b
|
||||
}
|
||||
|
||||
func (q *checker) bcheckTypeExpr(n *a.TypeExpr) (*big.Int, *big.Int, error) {
|
||||
switch n.PackageOrDecorator().Key() {
|
||||
switch n.Decorator().Key() {
|
||||
case t.KeyPtr, t.KeyOpenBracket:
|
||||
return nil, nil, nil
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user