aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorPatrick Walton <[email protected]>2010-09-16 16:20:00 -0700
committerPatrick Walton <[email protected]>2010-09-16 16:20:00 -0700
commit659d1e1b7d4a3c4bd5a4df811ff6de095e4b1884 (patch)
tree8dc890bfbee743d7003127612c1d39cbef17d84c /src
parentCreate tag nodes for all the tags beforehand (diff)
downloadrust-659d1e1b7d4a3c4bd5a4df811ff6de095e4b1884.tar.xz
rust-659d1e1b7d4a3c4bd5a4df811ff6de095e4b1884.zip
Actually build the graph properly. Oops.
Diffstat (limited to 'src')
-rw-r--r--src/boot/me/type.ml2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/boot/me/type.ml b/src/boot/me/type.ml
index c9be05cc..a685b276 100644
--- a/src/boot/me/type.ml
+++ b/src/boot/me/type.ml
@@ -1000,7 +1000,7 @@ let populate_tag_graph_node (cx:Semant.ctxt) (id:Common.opaque_id) (n:int) =
function
Ast.TY_tag { Ast.tag_id = id'; Ast.tag_args = tys } ->
let tag_graph_node =
- Hashtbl.find cx.Semant.ctxt_tag_containment id'
+ Hashtbl.find cx.Semant.ctxt_tag_containment id
in
Queue.add id' tag_graph_node.Semant.tgn_children;
Array.iter add_ty tys