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] symbol imports are not exported like module imports #34

Open
evolbug opened this issue Jul 6, 2020 · 0 comments
Open

[bug] symbol imports are not exported like module imports #34

evolbug opened this issue Jul 6, 2020 · 0 comments
Labels
bug Something isn't working

Comments

@evolbug
Copy link
Contributor

evolbug commented Jul 6, 2020

Attempting to use Object from love results in an error

# love/types.wu
Object: struct {}

# love/init.wu
import types { Object }

# main.wu
import love

asd : fun() -> love Object {
    new love Object {}
}

error:

wrong: no such module member `Object`
     --> main.wu
      │
    3 │ asd : fun() -> love Object {
      │                     ^^^^^^
@evolbug evolbug added bug Something isn't working good first issue Good for newcomers and removed good first issue Good for newcomers labels Jul 6, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant