diff options
| author | Brian Anderson <[email protected]> | 2011-04-21 20:34:04 -0400 |
|---|---|---|
| committer | Brian Anderson <[email protected]> | 2011-04-21 20:42:26 -0400 |
| commit | 540344acb9ebaa0141e991217c9fd9e2a5ec717a (patch) | |
| tree | 04633c069092e6f36617db6a3f40e73212bc0b1c /src/comp/front/extfmt.rs | |
| parent | test: Un-XFAIL drop-parametric-closure-with-bound-box.rs, oops. (diff) | |
| download | rust-540344acb9ebaa0141e991217c9fd9e2a5ec717a.tar.xz rust-540344acb9ebaa0141e991217c9fd9e2a5ec717a.zip | |
Fix the signature of expr_ext
The extension body is just a string, not an expression.
Diffstat (limited to 'src/comp/front/extfmt.rs')
| -rw-r--r-- | src/comp/front/extfmt.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/comp/front/extfmt.rs b/src/comp/front/extfmt.rs index e8f0c252..39c074c3 100644 --- a/src/comp/front/extfmt.rs +++ b/src/comp/front/extfmt.rs @@ -46,7 +46,7 @@ export expand_syntax_ext; // FIXME: Need to thread parser through here to handle errors correctly fn expand_syntax_ext(vec[@ast.expr] args, - option.t[@ast.expr] body) -> @ast.expr { + option.t[str] body) -> @ast.expr { if (_vec.len[@ast.expr](args) == 0u) { log_err "malformed #fmt call"; |