Skip to content

Commit 689497b

Browse files
committed
---
yaml --- r: 936 b: refs/heads/master c: 1090c5e h: refs/heads/master v: v3
1 parent c416339 commit 689497b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-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: 6fcf55347e913b632c98725543c24296b67c191c
2+
refs/heads/master: 1090c5e69cc10f8d7e57c4790461046de068f7aa

trunk/src/comp/middle/typeck.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -463,7 +463,7 @@ fn unify(&@crate_ctxt ccx, @ty expected, @ty actual) -> unify_result {
463463

464464
// Simple structural type comparison.
465465
fn struct_cmp(@ty expected, @ty actual) -> unify_result {
466-
if (expected == actual) {
466+
if (expected.struct == actual.struct) {
467467
ret ures_ok(expected);
468468
}
469469

0 commit comments

Comments
 (0)