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

Ambiguity in interactive compiler when loading module that imports a core module #582

Open
chtenb opened this issue Oct 5, 2024 · 0 comments

Comments

@chtenb
Copy link
Contributor

chtenb commented Oct 5, 2024

repro.kk:

import std/core/vector

In the terminal, enter the lines

koka
:l repro.kk
[1].vector

Error:

> [1].vector
      ^
/@virtual/repro/@main.kk(1, 7): type error: identifier vector cannot be resolved
  context      :   [1].vector
  inferred type: (list<int>) -> _
  candidates   : vector/list/vector
                 vector/list/vector
  hint         : qualify the name?
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant