Skip to content

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

Closed
@jyasskin

Description

@jyasskin

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions