Fix type inference for BytesInExpr.
This commit is contained in:
parent
988c5c6fef
commit
3d1d2c4d9c
|
@ -652,6 +652,9 @@ inferTypes = applyExplicitM9 doExpression doDimension doSubscript
|
||||||
Nothing -> return Nothing
|
Nothing -> return Nothing
|
||||||
e' <- inTypeContext ctx' $ inferTypes e
|
e' <- inTypeContext ctx' $ inferTypes e
|
||||||
return $ A.SubscriptedExpr m s' e'
|
return $ A.SubscriptedExpr m s' e'
|
||||||
|
A.BytesInExpr _ _ -> noTypeContext $ descend outer
|
||||||
|
-- FIXME: ExprConstr
|
||||||
|
-- FIXME: AllocMobile
|
||||||
|
|
||||||
-- Other expressions don't modify the type context.
|
-- Other expressions don't modify the type context.
|
||||||
_ -> descend outer
|
_ -> descend outer
|
||||||
|
|
Loading…
Reference in New Issue
Block a user