Skip to content

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

Closed
@jyasskin

Description

@jyasskin
Contributor

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.

Activity

graydon

graydon commented on Jul 11, 2010

@graydon
Contributor

Yeah. This is a dupe of issue 93, we're working on it. Probably highest-priority bug at the moment. Thanks!

froystig

froystig commented on Jul 16, 2010

@froystig
Contributor

Issue #93 has been closed.

pcwalton

pcwalton commented on Jul 16, 2010

@pcwalton
Contributor

New typechecker fixes this.

added a commit that references this issue on Jul 19, 2017
added a commit that references this issue on Dec 12, 2017
added a commit that references this issue on Nov 29, 2018

Merge pull request rust-lang#108 from brauliobz/grammar_integer_literals

added a commit that references this issue on Oct 26, 2020

Merge pull request rust-lang#108 from bjorn3/dependabot/cargo/craneli…

a7924ac
added a commit that references this issue on Dec 9, 2021
8343e3c

5 remaining items

Loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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

        Participants

        @graydon@jyasskin@froystig@pcwalton

        Issue actions

          2 calls to std._vec.len causes "mismatched type-params" error · Issue #108 · rust-lang/rust