mirror of
https://github.com/ddidderr/wuffs.git
synced 2026-11-24 08:52:18 +01:00
Unexport some unused lang/check API
This commit is contained in:
1 parent
1004d898d5
commit
117a6c829b
4 files changed
+46
-79
No files matched your search
@@ -934,7 +934,7 @@ func (q *checker) bcheckExprOther(n *a.Expr, depth uint32) (*big.Int, *big.Int,
|
||||
case t.KeyDot:
|
||||
// TODO: delete this hack that only matches "in".
|
||||
if n.LHS().Expr().Ident().Key() == t.KeyIn {
|
||||
for _, o := range q.f.Func.In().Fields() {
|
||||
for _, o := range q.astFunc.In().Fields() {
|
||||
o := o.Field()
|
||||
if o.Name() == n.Ident() {
|
||||
return q.bcheckTypeExpr(o.XType())
|
||||
|
||||
Reference in new issue
Block a user