Use simplified_ty in effect.
This commit is contained in:
parent
7e853457df
commit
992f344c83
1 changed files with 1 additions and 1 deletions
|
@ -155,7 +155,7 @@ let function_effect_propagation_visitor
|
|||
|
||||
| Ast.STMT_call (_, fn, _) ->
|
||||
let lower_to_callee_ty t =
|
||||
match t with
|
||||
match simplified_ty t with
|
||||
Ast.TY_fn (_, taux) ->
|
||||
lower_to s taux.Ast.fn_effect;
|
||||
| _ -> bug () "non-fn callee"
|
||||
|
|
Loading…
Add table
Reference in a new issue