Skip to content

Commit a0a9b86

Browse files
committed
---
yaml --- r: 2553 b: refs/heads/master c: 525a5c5 h: refs/heads/master i: 2551: c118fe2 v: v3
1 parent 4dace93 commit a0a9b86

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
---
2-
refs/heads/master: 594c70f788734813e63991a83c2693b9d4f2f8bf
2+
refs/heads/master: 525a5c582fe7cf5b805cf2ff8bd5398da5bee422

trunk/src/comp/middle/typeck.rs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -136,27 +136,27 @@ fn ty_param_count_and_ty_for_def(&@fn_ctxt fcx, &ast::span sp, &ast::def defn)
136136
}
137137
case (ast::def_fn(?id)) {
138138
ret ty::lookup_item_type(fcx.ccx.sess, fcx.ccx.tcx,
139-
fcx.ccx.type_cache, id);
139+
fcx.ccx.type_cache, id);
140140
}
141141
case (ast::def_native_fn(?id)) {
142142
ret ty::lookup_item_type(fcx.ccx.sess, fcx.ccx.tcx,
143-
fcx.ccx.type_cache, id);
143+
fcx.ccx.type_cache, id);
144144
}
145145
case (ast::def_const(?id)) {
146146
ret ty::lookup_item_type(fcx.ccx.sess, fcx.ccx.tcx,
147-
fcx.ccx.type_cache, id);
147+
fcx.ccx.type_cache, id);
148148
}
149149
case (ast::def_variant(_, ?vid)) {
150150
ret ty::lookup_item_type(fcx.ccx.sess, fcx.ccx.tcx,
151-
fcx.ccx.type_cache, vid);
151+
fcx.ccx.type_cache, vid);
152152
}
153153
case (ast::def_binding(?id)) {
154154
// assert (fcx.locals.contains_key(id));
155155
ret tup(0u, fcx.locals.get(id));
156156
}
157157
case (ast::def_obj(?id)) {
158158
ret ty::lookup_item_type(fcx.ccx.sess, fcx.ccx.tcx,
159-
fcx.ccx.type_cache, id);
159+
fcx.ccx.type_cache, id);
160160
}
161161

162162
case (ast::def_mod(_)) {

0 commit comments

Comments
 (0)