Fixed the type-inference to work again with input from timers
This commit is contained in:
parent
13ce688271
commit
d3f4bd587e
|
@ -761,11 +761,7 @@ inferTypes = occamOnlyPass "Infer types"
|
|||
(recurse v >>= derefVariableIfNeeded (Just t)) >>* A.ActualVariable
|
||||
_ -> descend a
|
||||
| (a, (_,t,_)) <- zip as params] >>* A.IntrinsicProcCall m n
|
||||
A.Input m v im@(A.InputSimple {})
|
||||
-> do v' <- recurse v
|
||||
im' <- doInputMode v' im
|
||||
return $ A.Input m v' im'
|
||||
A.Input m v im@(A.InputCase {})
|
||||
A.Input m v im
|
||||
-> do v' <- recurse v
|
||||
im' <- doInputMode v' im
|
||||
return $ A.Input m v' im'
|
||||
|
|
Loading…
Reference in New Issue
Block a user