Skip to content

Commit 724c875

Browse files
committed
---
yaml --- r: 2003 b: refs/heads/master c: 52abd91 h: refs/heads/master i: 2001: 986f4e2 1999: b2adcd9 v: v3
1 parent a2c8ef5 commit 724c875

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
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: 83829906274f643a75623f1f32f3f04ecbaeb5e5
2+
refs/heads/master: 52abd912c06f57a410af7c6b59a78b772ac44368

trunk/src/comp/middle/trans.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4409,6 +4409,9 @@ fn trans_args(@block_ctxt cx,
44094409
}
44104410
}
44114411

4412+
val = bcx.build.PointerCast(val, lldestty);
4413+
} else if (mode == ast.alias) {
4414+
auto lldestty = arg_tys.(i);
44124415
val = bcx.build.PointerCast(val, lldestty);
44134416
}
44144417

trunk/src/test/run-pass/tag-and-generic-obj.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
// xfail-stage0
2-
31
tag colour { red; green; }
42

53
obj foo[T]() {

0 commit comments

Comments
 (0)