Skip to content

Commit f287944

Browse files
committed
---
yaml --- r: 6598 b: refs/heads/master c: 8b60812 h: refs/heads/master v: v3
1 parent f32d1d3 commit f287944

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
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: 66355607da4a2491e4a75dc6e0d2036120f0ede2
2+
refs/heads/master: 8b608125ac2d59cace17fc3f177d13e2a0021716

trunk/src/comp/syntax/ast_util.rs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,10 @@ fn is_constraint_arg(e: @expr) -> bool {
193193

194194
fn eq_ty(&&a: @ty, &&b: @ty) -> bool { ret std::box::ptr_eq(a, b); }
195195

196-
fn hash_ty(&&t: @ty) -> uint { ret t.span.lo << 16u + t.span.hi; }
196+
fn hash_ty(&&t: @ty) -> uint {
197+
let res = (t.span.lo << 16u) + t.span.hi;
198+
ret res;
199+
}
197200

198201
fn hash_def_id(&&id: def_id) -> uint {
199202
id.crate as uint << 16u + (id.node as uint)

0 commit comments

Comments
 (0)