Skip to content

Commit 88cde35

Browse files
committed
---
yaml --- r: 2918 b: refs/heads/master c: 468786e h: refs/heads/master v: v3
1 parent 225f026 commit 88cde35

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-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: c515ed13deafda59f0b8e00e7fa67802009e33fd
2+
refs/heads/master: 468786e36d5ab35afb54b60bc1d6147ba0db8733

trunk/src/comp/middle/ty.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -981,6 +981,7 @@ fn type_has_pointers(&ctxt cx, &t ty) -> bool {
981981
alt (struct(cx, ty)) {
982982
// scalar types
983983
case (ty_nil) { ret false; }
984+
case (ty_bot) { ret false; }
984985
case (ty_bool) { ret false; }
985986
case (ty_int) { ret false; }
986987
case (ty_float) { ret false; }
@@ -2049,7 +2050,7 @@ mod unify {
20492050
result_mode = expected_input.mode;
20502051
}
20512052

2052-
auto result = unify_step(cx, actual_input.ty, expected_input.ty);
2053+
auto result = unify_step(cx, expected_input.ty, actual_input.ty);
20532054

20542055
alt (result) {
20552056
case (ures_ok(?rty)) {

0 commit comments

Comments
 (0)