diff options
| author | Graydon Hoare <[email protected]> | 2010-06-30 00:55:27 -0700 |
|---|---|---|
| committer | Graydon Hoare <[email protected]> | 2010-06-30 00:55:27 -0700 |
| commit | 992f344c83634fbf41174b0c660bf033743c923b (patch) | |
| tree | 17395500901d90b722f2b9c0adf153897e2f23b8 /src/boot/me | |
| parent | Move simplified_ty from trans to semant and use it a few places. (diff) | |
| download | rust-992f344c83634fbf41174b0c660bf033743c923b.tar.xz rust-992f344c83634fbf41174b0c660bf033743c923b.zip | |
Use simplified_ty in effect.
Diffstat (limited to 'src/boot/me')
| -rw-r--r-- | src/boot/me/effect.ml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/boot/me/effect.ml b/src/boot/me/effect.ml index ab0c349e..795f1990 100644 --- a/src/boot/me/effect.ml +++ b/src/boot/me/effect.ml @@ -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" |