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

Imports are ignored #174

Open
4 tasks
JSAbrahams opened this issue Nov 20, 2019 · 0 comments
Open
4 tasks

Imports are ignored #174

JSAbrahams opened this issue Nov 20, 2019 · 0 comments
Assignees
Labels
bug: check Something in the type check module isn't working (as intended) enhancement: check New feature in the type check module

Comments

@JSAbrahams
Copy link
Owner

JSAbrahams commented Nov 20, 2019

Description of Bug

The type checker currently ignores imports.
Everything in the project is in the global scope.

Expected behaviour

  • Imports should be noted when creating the context.
  • The type checker should analyse the signature of imported libraries.
  • The type checker should throw an error if we try to use a function of a module that has not been imported (in the project)
  • The type checker should use import aliases from .. import .. as <alias> where applicable
@JSAbrahams JSAbrahams added enhancement: check New feature in the type check module bug: check Something in the type check module isn't working (as intended) labels Nov 20, 2019
@JSAbrahams JSAbrahams added this to the v0.3.0 milestone Nov 20, 2019
@JSAbrahams JSAbrahams self-assigned this Nov 24, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug: check Something in the type check module isn't working (as intended) enhancement: check New feature in the type check module
Projects
None yet
Development

No branches or pull requests

1 participant