aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGraydon Hoare <[email protected]>2010-06-30 00:55:27 -0700
committerGraydon Hoare <[email protected]>2010-06-30 00:55:27 -0700
commit992f344c83634fbf41174b0c660bf033743c923b (patch)
tree17395500901d90b722f2b9c0adf153897e2f23b8 /src
parentMove simplified_ty from trans to semant and use it a few places. (diff)
downloadrust-992f344c83634fbf41174b0c660bf033743c923b.tar.xz
rust-992f344c83634fbf41174b0c660bf033743c923b.zip
Use simplified_ty in effect.
Diffstat (limited to 'src')
-rw-r--r--src/boot/me/effect.ml2
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"