2011-07-11 19:26:40 -05:00
|
|
|
// xfail-stage0
|
|
|
|
// error-pattern:Bind arguments with types containing parameters must be
|
|
|
|
fn main() {
|
|
|
|
fn echo[T](int c, vec[T] x) {
|
|
|
|
}
|
2011-07-13 17:44:09 -05:00
|
|
|
|
2011-07-11 19:26:40 -05:00
|
|
|
let fn(vec[int]) -> () y = bind echo(42, _);
|
|
|
|
|
|
|
|
y([1]);
|
|
|
|
}
|