2 calls to std._vec.len causes "mismatched type-params" error

f061d7c
Opened by Jeffrey Yasskin at 2010-07-16 22:42:45

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.

  1. 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

  2. Issue #93 has been closed.

    Roy Frostig at 2010-07-16 22:16:03

  3. New typechecker fixes this.

    Patrick Walton at 2010-07-16 22:42:45