提交 663000ce 编写于 作者: T Tim Chevalier

run-pass/autobind seems to work, so un-xfail it

上级 0a6ef35c
// FIXME: Autobind doesn't work for bare functions currently
// because it would have to convert them to shared closures
// xfail-test
fn f<T>(x: [T]) -> T { ret x[0]; }
fn f<T: copy>(x: [T]) -> T { ret x[0]; }
fn g(act: fn([int]) -> int) -> int { ret act([1, 2, 3]); }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册