2 calls to std._vec.len causes "mismatched type-params" error
f061d7c
Opened by Jeffrey Yasskin at
For example: use std;
fn foo(vec[str] args) {
std._vec.len[str](args);
std._vec.len[str](args); // Error here.
}
fn main(vec[str] args) {}
Commenting out either call makes the other one succeed.
Yeah. This is a dupe of issue 93, we're working on it. Probably highest-priority bug at the moment. Thanks!
Graydon Hoare at 2010-07-11 20:42:52
Issue #93 has been closed.
Roy Frostig at 2010-07-16 22:16:03
New typechecker fixes this.
Patrick Walton at 2010-07-16 22:42:45