-
Notifications
You must be signed in to change notification settings - Fork 4
creates two dependencies for one "new" instruction #109
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
Comments
Actually, 2 references and one invocation were created for each 'new' ! |
Analyzing:
|
Re-opening the issue: What association should we create from an instanciation? Is it:
It is worth remembering that in Pharo, we can only create one dependency from So do we rollback the change in VerveineJ (considering only the Invocation)? |
Hello In my opinion, we should have only the invocation (and not the class reference). class reference is for cases such as |
take this instruction:
new Environnement(graph)
it results in an invocation of the constructor
Environnement()
+ a reference to the typeEnvironnement
So one
new
results in two dependencies :-(The text was updated successfully, but these errors were encountered: