You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- introduce different #sourceCodeTemplate for class side
- remove #sourceCodeTemplateFor:
- move sourceCodeTemplate out of Compiler, it is independed of the specific compiler and just an accessor
- move test to BehaviorTest
better solution: implement #sourceCodeTemplate on Metaclass instead.
That is the obvious solution and I vaguely remember trying it first but there was "some" problem with it, but sorry I can't remember what - maybe my memory is mistaken.
This is https://pharo.fogbugz.com/f/cases/22748/distinguish-between-instance-side-and-class-side-in-method-template
A new method #sourceCodeTemplateFor: was introduced, it is not used in Pharo8.
better solution: implement #sourceCodeTemplate on Metaclass instead.
==> works, no API change needed.
The PR should remove sourceCodeTemplateFor: and rewrite the test to test #sourceCodeTemplate
The text was updated successfully, but these errors were encountered: