Changes

Summary

  1. This PR fixes #10078: (details)
  2. fix unused variable (details)
Commit 43b4e1323a7d7c647b56fbcef5f235c1a74b6f69 by marcus.denker
This PR fixes #10078:

- Move the FFI check from #localReadSelf to #usingMethods of SelfVariable
- add a test and comment to  testReadsSelf. I do not execute an FFI method here to not add a dependency / make this test platform specific
- add tests for #usingMethods for self:
- check that we can find the test method itself (with the self assert)
- check that if we use super, we do not find it
- add test to check for a #isFFIMethod that does not read self, but we find it still by #usingMethods of SelfVariable


The file was modifiedsrc/Kernel/SelfVariable.class.st (diff)
The file was modifiedsrc/Kernel-Tests/CompiledCodeTest.class.st (diff)
The file was addedsrc/Slot-Tests/SelfVariableTest.class.st
The file was modifiedsrc/Kernel/CompiledMethod.class.st (diff)
The file was modifiedsrc/Slot-Tests/SelfVariableTest.class.st (diff)