Skip to content

Commit acc0eef

Browse files
committed
---
yaml --- r: 3441 b: refs/heads/master c: 5059c5f h: refs/heads/master i: 3439: 0a95667 v: v3
1 parent 8b88a9e commit acc0eef

File tree

6 files changed

+15
-11
lines changed

6 files changed

+15
-11
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: b944d8d72e234d14b5147cc210e2cc5ea345d1eb
2+
refs/heads/master: 5059c5f8fd6033a25c736363e8844f963dae512b

trunk/mk/tests.mk

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,8 +57,8 @@ TEST_RPASS_EXES_STAGE1 := \
5757
$(subst $(S)src/,,$(TEST_RPASS_CRATES_STAGE1:.rc=.stage1$(X))) \
5858
$(subst $(S)src/,,$(TEST_RPASS_SOURCES_STAGE1:.rs=.stage1$(X)))
5959
TEST_RPASS_EXES_STAGE2 := \
60-
$(subst $(S)src/,,$(TEST_RPASS_CRATES_STAGE1:.rc=.stage2$(X))) \
61-
$(subst $(S)src/,,$(TEST_RPASS_SOURCES_STAGE1:.rs=.stage2$(X)))
60+
$(subst $(S)src/,,$(TEST_RPASS_CRATES_STAGE2:.rc=.stage2$(X))) \
61+
$(subst $(S)src/,,$(TEST_RPASS_SOURCES_STAGE2:.rs=.stage2$(X)))
6262

6363
TEST_RPASS_OUTS_STAGE0 := \
6464
$(TEST_RPASS_EXES_STAGE0:.stage0$(X)=.stage0.out)

trunk/src/test/run-pass/anon-obj-degenerate.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
//xfail-stage0
22
//xfail-stage1
3+
//xfail-stage2
34
use std;
45

56
fn main() {

trunk/src/test/run-pass/anon-obj-overloading.rs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
//xfail-stage0
22
//xfail-stage1
3+
//xfail-stage2
34
use std;
45

56
fn main() {
@@ -18,12 +19,12 @@ fn main() {
1819
// An anonymous object that overloads the 'foo' method. Adding
1920
// support for this is issue #543 (making this work in the
2021
// presence of self-calls is the tricky part).
21-
auto my_b = obj() {
22+
auto my_b = obj() {
2223
fn foo() -> int {
2324
ret 3;
2425
}
2526

26-
with my_a
27+
with my_a
2728
};
2829

2930
assert (my_b.foo() == 3);

trunk/src/test/run-pass/anon-obj-with-self-call.rs

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
//xfail-stage0
22
//xfail-stage1
3+
//xfail-stage2
34
use std;
45

56
fn main() {
@@ -20,11 +21,11 @@ fn main() {
2021

2122
// Right now, this fails with a failed lookup in a hashmap; not
2223
// sure where, but I think it might be during typeck.
23-
auto my_b = obj {
24-
fn baz() -> int {
25-
ret self.foo();
26-
}
27-
with my_a
24+
auto my_b = obj {
25+
fn baz() -> int {
26+
ret self.foo();
27+
}
28+
with my_a
2829
};
2930

3031
assert (my_b.baz() == 2);

trunk/src/test/run-pass/anon-objs-with-fields.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
//xfail-stage0
22
//xfail-stage1
3+
//xfail-stage2
34
use std;
45

56
fn main() {
@@ -23,7 +24,7 @@ fn main() {
2324
fn baz() -> int {
2425
ret quux + 4;
2526
}
26-
with my_a
27+
with my_a
2728
};
2829

2930
assert (my_c.baz() == 7);

0 commit comments

Comments
 (0)