Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG]: Can't iterate over DynamicVector passed in as parameter #1914

Open
soraros opened this issue Mar 8, 2024 · 2 comments
Open

[BUG]: Can't iterate over DynamicVector passed in as parameter #1914

soraros opened this issue Mar 8, 2024 · 2 comments
Labels
bug Something isn't working mojo Issues that are related to mojo mojo-repo Tag all issues with this label mojo-stdlib Tag for issues related to standard library

Comments

@soraros
Copy link
Contributor

soraros commented Mar 8, 2024

Bug description

As title.

Steps to reproduce

fn f[v: List[Int]]():
  for _ in v:
    ...

fn main():
  f[List[Int](1, 2, 3)]()

System information

Mojo 24.1 on Docker, Intel Mac
@soraros soraros added bug Something isn't working mojo Issues that are related to mojo labels Mar 8, 2024
@ematejska ematejska added the mojo-stdlib Tag for issues related to standard library label Mar 18, 2024
@StandinKP
Copy link
Contributor

Isn't DynamicVector List now?

@soraros
Copy link
Contributor Author

soraros commented Apr 29, 2024

@StandinKP Sure. Same error on nightly though.

@ematejska ematejska added the mojo-repo Tag all issues with this label label Apr 29, 2024
@ematejska ematejska removed the mojo-stdlib Tag for issues related to standard library label May 3, 2024
@ematejska ematejska added the mojo-stdlib Tag for issues related to standard library label May 3, 2024 — with Linear
@ematejska ematejska removed the mojo-stdlib Tag for issues related to standard library label May 6, 2024
@ematejska ematejska added the mojo-stdlib Tag for issues related to standard library label May 6, 2024 — with Linear
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working mojo Issues that are related to mojo mojo-repo Tag all issues with this label mojo-stdlib Tag for issues related to standard library
Projects
None yet
Development

No branches or pull requests

3 participants