mirror of
https://github.com/ddidderr/wuffs.git
synced 2026-11-23 16:52:18 +01:00
Unexport check.TypeExprFoo variables.
This commit is contained in:
1 parent
1c62391db3
commit
321ebf8617
4 files changed
+40
-33
No files matched your search
@@ -38,7 +38,7 @@ var (
|
||||
|
||||
func init() {
|
||||
zeroExpr.SetConstValue(zero)
|
||||
zeroExpr.SetMType(TypeExprIdeal)
|
||||
zeroExpr.SetMType(typeExprIdeal)
|
||||
}
|
||||
|
||||
func btoi(b bool) *big.Int {
|
||||
@@ -815,7 +815,8 @@ func (q *checker) bcheckExprAssociativeOp(n *a.Expr, depth uint32) (*big.Int, *b
|
||||
}
|
||||
|
||||
func (q *checker) bcheckTypeExpr(n *a.TypeExpr) (*big.Int, *big.Int, error) {
|
||||
if n.Eq(TypeExprIdeal) {
|
||||
if n.IsIdeal() {
|
||||
// TODO: can an ideal type be refined??
|
||||
return nil, nil, nil
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user