Remove ast.FlagsTypeChecked

This commit is contained in:
Nigel Tao committed 2018-05-14 16:11:18 +10:00
1 parent 325488d92d
commit e00e71da7b
9 files changed
+23 -48

No files matched your search

+1 -1
View File
@@ -263,7 +263,7 @@ func (q *checker) optimizeIOMethodAdvance(n *a.Expr, receiver *a.Expr, advance *
if err != nil {
return nil, err
}
o := a.NewExpr(a.FlagsTypeChecked, 0, 0, id, nil, nil, nil, nil)
o := a.NewExpr(0, 0, 0, id, nil, nil, nil, nil)
o.SetConstValue(rcv)
o.SetMType(typeExprIdeal)