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

4953-moduleName-needs-to-be-properly-deprecated #4955

Conversation

pavel-krivanek
Copy link
Collaborator

add moduleName deprecation

fixes #4953

@pavel-krivanek
Copy link
Collaborator Author

unrelated test failures

windows-32 / Tests-windows-32 / testLinkOnTempVarForObject – Windows32.Reflectivity.Tests.LinkInstallerTest
<1s
osx-32 / Tests-osx-32 / testLinkOnTempVarForObject – MacOSX32.Reflectivity.Tests.LinkInstallerTest

@MarcusDenker MarcusDenker merged commit f2b9829 into pharo-project:Pharo8.0 Oct 21, 2019
Copy link
Member

@guillep guillep left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Are the infinite recursions ok? If we disable the automatic rewritings nothing will work...

Besides, this method is supposed to be abstract and redefined in subclasses, so nobody will ever call it actually. That's why I did not deprecate it in my changes, but I'm not against the deprecation on itself.

deprecated: 'Please use #libraryName instead'
transformWith: '`@receiver moduleName' -> '`@receiver libraryName'.

^self moduleName
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is an infinite recursion :/

deprecated: 'Please use #libraryName instead'
transformWith: '`@receiver moduleName' -> '`@receiver libraryName'.

^self moduleName
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This too...

@pavel-krivanek
Copy link
Collaborator Author

damn

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

moduleName needs to be properly deprecated
3 participants