Skip to content

Commit cbc0ea1

Browse files
committed
---
yaml --- r: 2192 b: refs/heads/master c: 3b047ba h: refs/heads/master v: v3
1 parent db015c0 commit cbc0ea1

File tree

2 files changed

+18
-1
lines changed

2 files changed

+18
-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: 540344acb9ebaa0141e991217c9fd9e2a5ec717a
2+
refs/heads/master: 3b047bad6e1e33e460ead379534bb95829248a6a
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
// xfail-stage0
2+
3+
obj ob[K](K k) {
4+
iter foo() -> @tup(K) {
5+
put @tup(k);
6+
}
7+
}
8+
9+
fn x(&ob[str] o) {
10+
for each (@tup(str) i in o.foo()) {
11+
}
12+
}
13+
14+
fn main() {
15+
auto o = ob[str]("hi" + "there");
16+
x(o);
17+
}

0 commit comments

Comments
 (0)