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

Reference counting is wrong when multiple modules are imported with the same alias #21

Open
lucamug opened this issue Jan 19, 2018 · 0 comments
Assignees

Comments

@lucamug
Copy link

lucamug commented Jan 19, 2018

I have a module that import Tangram with:

import Tangram.Model as Tangram
import Tangram.Types as Tangram
import Tangram.Update as Tangram
import Tangram.View as Tangram

and use

Tangram.subscriptions

that is coming from Tangram.Model

but in Tangram.Model it says that external references are 0 while it should say 1.

Maybe the plug-in is not taking in consideration the multiple import with the same name?

Changing the import to

import Tangram.Model
import Tangram.Types
import Tangram.Update
import Tangram.View

the counting is correct

@mbuscemi mbuscemi self-assigned this Jan 19, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants