diff options
| author | Brian Anderson <[email protected]> | 2011-02-27 22:35:27 -0500 |
|---|---|---|
| committer | Graydon Hoare <[email protected]> | 2011-03-02 10:28:15 -0800 |
| commit | c1e6f5328c3f46884ed7a7e29c780e307b02100a (patch) | |
| tree | 10ed869d28e3a9a4eb4a343151d6b1af7791b8d6 /src/comp/middle/trans.rs | |
| parent | Add pretty printing for expr_call, expr_path, and more literals (diff) | |
| download | rust-c1e6f5328c3f46884ed7a7e29c780e307b02100a.tar.xz rust-c1e6f5328c3f46884ed7a7e29c780e307b02100a.zip | |
Make the expanded expression in expr_ext not optional
Diffstat (limited to 'src/comp/middle/trans.rs')
| -rw-r--r-- | src/comp/middle/trans.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/comp/middle/trans.rs b/src/comp/middle/trans.rs index 9fee3dab..2594590a 100644 --- a/src/comp/middle/trans.rs +++ b/src/comp/middle/trans.rs @@ -3694,7 +3694,7 @@ fn trans_expr(@block_ctxt cx, @ast.expr e) -> result { } case (ast.expr_ext(_, _, _, ?expanded, _)) { - ret trans_expr(cx, option.get[@ast.expr](expanded)); + ret trans_expr(cx, expanded); } case (ast.expr_fail) { |