aboutsummaryrefslogtreecommitdiff
path: root/src/comp/middle/ty.rs
diff options
context:
space:
mode:
authorPatrick Walton <[email protected]>2011-03-08 12:42:56 -0800
committerPatrick Walton <[email protected]>2011-03-08 12:42:56 -0800
commit4654faa67c831728c677027f2beb48fe3592b511 (patch)
tree36352677b4415e077c97dc688583a1ce7f097e79 /src/comp/middle/ty.rs
parentrustc: Rework type substitution to pair up type parameter IDs with the suppli... (diff)
downloadrust-4654faa67c831728c677027f2beb48fe3592b511.tar.xz
rust-4654faa67c831728c677027f2beb48fe3592b511.zip
rustc: Add a slot for explicit type parameter instantations to the typechecker's AST annotation
Diffstat (limited to 'src/comp/middle/ty.rs')
-rw-r--r--src/comp/middle/ty.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/comp/middle/ty.rs b/src/comp/middle/ty.rs
index c33b5d8d..9ae39c9d 100644
--- a/src/comp/middle/ty.rs
+++ b/src/comp/middle/ty.rs
@@ -599,7 +599,7 @@ fn ann_to_type(&ast.ann ann) -> @t {
// shouldn't happen, but can until the typechecker is complete
ret plain_ty(ty_var(-1)); // FIXME: broken, broken, broken
}
- case (ast.ann_type(?ty)) {
+ case (ast.ann_type(?ty, _)) {
ret ty;
}
}