diff options
| author | Patrick Walton <[email protected]> | 2011-05-09 12:27:03 -0700 |
|---|---|---|
| committer | Patrick Walton <[email protected]> | 2011-05-09 12:27:03 -0700 |
| commit | 662e949540e19a5a906a5e4f13e62b625a13ba69 (patch) | |
| tree | 42bf133c560e0dd3351344c8adcc32fddeae8f5a /src/comp/middle/metadata.rs | |
| parent | rustc: Replace our homebrew list of passes with the standard function and mod... (diff) | |
| download | rust-662e949540e19a5a906a5e4f13e62b625a13ba69.tar.xz rust-662e949540e19a5a906a5e4f13e62b625a13ba69.zip | |
rustc: Alias fix part 1 -- Separate out AST modes from typechecker modes, and introduce an "either value or alias" mode
Diffstat (limited to 'src/comp/middle/metadata.rs')
| -rw-r--r-- | src/comp/middle/metadata.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/comp/middle/metadata.rs b/src/comp/middle/metadata.rs index f8e7a96e..c4563cf2 100644 --- a/src/comp/middle/metadata.rs +++ b/src/comp/middle/metadata.rs @@ -241,7 +241,7 @@ mod Encode { fn enc_ty_fn(IO.writer w, @ctxt cx, vec[ty.arg] args, ty.t out) { w.write_char('['); for (ty.arg arg in args) { - if (arg.mode == ast.alias) { w.write_char('&'); } + if (arg.mode == ty.mo_alias) { w.write_char('&'); } enc_ty(w, cx, arg.ty); } w.write_char(']'); |