Currently the compiler optimizes the imports by importing definitions only once. If they are defined and used in multiple places, it doesn't cause a problem. The problem rises when we import two files that reference each other, the solution is to cache import paths and don't re import at all when the path is already cached.
Currently the compiler optimizes the imports by importing definitions only once. If they are defined and used in multiple places, it doesn't cause a problem. The problem rises when we import two files that reference each other, the solution is to cache import paths and don't re import at all when the path is already cached.