diff options
| author | Patrick Walton <[email protected]> | 2011-03-08 12:42:56 -0800 |
|---|---|---|
| committer | Patrick Walton <[email protected]> | 2011-03-08 12:42:56 -0800 |
| commit | 4654faa67c831728c677027f2beb48fe3592b511 (patch) | |
| tree | 36352677b4415e077c97dc688583a1ce7f097e79 /src/comp/middle/trans.rs | |
| parent | rustc: Rework type substitution to pair up type parameter IDs with the suppli... (diff) | |
| download | rust-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/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 fffa325f..7457a532 100644 --- a/src/comp/middle/trans.rs +++ b/src/comp/middle/trans.rs @@ -2238,7 +2238,7 @@ fn node_ann_type(@crate_ctxt cx, &ast.ann a) -> @ty.t { case (ast.ann_none) { cx.sess.bug("missing type annotation"); } - case (ast.ann_type(?t)) { + case (ast.ann_type(?t, _)) { ret target_type(cx, t); } } |