about summary refs log tree commit diff
path: root/src/comp/metadata
diff options
context:
space:
mode:
authorBrian Anderson <banderson@mozilla.com>2011-10-18 19:39:09 -0700
committerBrian Anderson <banderson@mozilla.com>2011-10-20 18:23:48 -0700
commitf324704c0a010a2ba89bec67d89eb6eccfa4e412 (patch)
tree1f281bf03c6229d9238394d4fa4451f8124683d1 /src/comp/metadata
parent391e12124b4ee96849b8b5959c2cab824400a384 (diff)
downloadrust-f324704c0a010a2ba89bec67d89eb6eccfa4e412.tar.gz
rust-f324704c0a010a2ba89bec67d89eb6eccfa4e412.zip
Parse obj methods as proto_bare
I don't know if this is the right thing to do, but it works
and it lets 'fn' always mean proto_bare
Diffstat (limited to 'src/comp/metadata')
-rw-r--r--src/comp/metadata/tydecode.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/comp/metadata/tydecode.rs b/src/comp/metadata/tydecode.rs
index 6b9d3e96bf5..2e6a83c153d 100644
--- a/src/comp/metadata/tydecode.rs
+++ b/src/comp/metadata/tydecode.rs
@@ -281,7 +281,7 @@ fn parse_ty(st: @pstate, sd: str_def) -> ty::t {
             let proto;
             alt next(st) as char {
               'W' { proto = ast::proto_iter; }
-              'F' { proto = ast::proto_fn; }
+              'f' { proto = ast::proto_bare; }
             }
             let name = "";
             while peek(st) as char != '[' {