This is not directly the compiler API, but the API used by tools (e.g. requestors):
There where three methods to test if the requestor operates on whole methods or not.
- isWorkspace
- isScripting
- isForScripting
This had lead to odd bugs in the past that something that was tested for one requestor failed if used in another context.
(For that, we added both #isScripting and #isForScripting for some cases already).
This Issue points to a series of PRs that unifies the situation:
unify #isScripting and #isForScripting #9921
https://github.com/pharo-project/pharo/issues/9921Note: it is not really possible to do this backward compatible in a nice way, but the good news is that this is an API used for tools that should not be used normally outside of the development tools themselves.