Skip to content

Commit b9613ad

Browse files
committed
---
yaml --- r: 1347 b: refs/heads/master c: 9d57699 h: refs/heads/master i: 1345: f175327 1343: 213144a v: v3
1 parent c3caea8 commit b9613ad

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
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: d7f118135b8a3eee7c8788052542e6e1c205a3d9
2+
refs/heads/master: 9d576993f31349f2a7dbf8e40ccdaff9cf66144d

trunk/src/comp/middle/ty.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1215,6 +1215,10 @@ fn unify(@ty.t expected, @ty.t actual, &unify_handler handler)
12151215
auto eqer = eq_int;
12161216
auto bindings = map.mk_hashmap[int,@ty.t](hasher, eqer);
12171217

1218+
// FIXME: this is a slow way of driving types into residual vars that
1219+
// occur up in the leaves of result type; it can likely be done better
1220+
// when unification is actually ... down in the leaves.
1221+
12181222
auto ures = unify_step(bindings, expected, actual, handler);
12191223
while (true) {
12201224
alt (ures) {

0 commit comments

Comments
 (0)