File tree Expand file tree Collapse file tree 2 files changed +2
-6
lines changed
branches/snap-stage3/src/test/run-pass Expand file tree Collapse file tree 2 files changed +2
-6
lines changed Original file line number Diff line number Diff line change 1
1
---
2
2
refs/heads/master: 2898dcc5d97da9427ac367542382b6239d9c0bbf
3
3
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
4
- refs/heads/snap-stage3: 0a6ef35c8c38c8aa4a088d43e2ecb79cecd63baa
4
+ refs/heads/snap-stage3: 663000ce35635b3f53e21590749c5d905e411bcd
5
5
refs/heads/try: 2898dcc5d97da9427ac367542382b6239d9c0bbf
6
6
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
Original file line number Diff line number Diff line change 1
- // FIXME: Autobind doesn't work for bare functions currently
2
- // because it would have to convert them to shared closures
3
- // xfail-test
4
-
5
- fn f < T > ( x : [ T ] ) -> T { ret x[ 0 ] ; }
1
+ fn f < T : copy > ( x : [ T ] ) -> T { ret x[ 0 ] ; }
6
2
7
3
fn g ( act : fn ( [ int ] ) -> int ) -> int { ret act ( [ 1 , 2 , 3 ] ) ; }
8
4
You can’t perform that action at this time.
0 commit comments