AltoLang / Alto

Compiler in the works!
MIT License
3 stars 1 forks source link

Issue with imports #57

Closed FilipToth closed 3 years ago

FilipToth commented 3 years ago

Describe the bug

When you import a file in another file and then use a function from the original file in the core file, there's no diagnostic. It's a problem in the binding of imports inside the BindGlobalScope method.

To Reproduce

Steps to reproduce the behavior:

Expected behavior

We should get an error saying that <functionName> does not existing.

FilipToth commented 3 years ago

Fixed by pull #58