FailedChanges

Summary

  1. #isReferenced for TemporaryVariables need to check if the var is really (details)
  2. fix failing test (details)
Commit 5c2086f95247a6f51572d71b7c2623bf460287b8 by marcus.denker
#isReferenced for TemporaryVariables need to check if the var is really
accessed. This implementation does it using the AST: if there are no
astNodes for this variables, it is not used.
- Implement isReferenced
- add test
- move implementation isReferenced from Variable to Slo
- add isReferenced as subclassResponsability in Variable
The file was modifiedsrc/Slot-Tests/TemporaryVariableTest.class.st (diff)
The file was modifiedsrc/Kernel/Slot.class.st (diff)
The file was modifiedsrc/Slot-Core/CompiledMethod.extension.st (diff)
The file was modifiedsrc/Kernel/TemporaryVariable.class.st (diff)
The file was modifiedsrc/Kernel/Variable.class.st (diff)
The file was modifiedsrc/ReleaseTests/NoUnusedTemporaryVariablesLeftTest.class.st (diff)

Summary

  1. #isReferenced for TemporaryVariables need to check if the var is really (details)
  2. fix failing test (details)
Commit 5c2086f95247a6f51572d71b7c2623bf460287b8 by marcus.denker
#isReferenced for TemporaryVariables need to check if the var is really
accessed. This implementation does it using the AST: if there are no
astNodes for this variables, it is not used.
- Implement isReferenced
- add test
- move implementation isReferenced from Variable to Slo
- add isReferenced as subclassResponsability in Variable
The file was modifiedsrc/Kernel/Slot.class.st (diff)
The file was modifiedsrc/Kernel/Variable.class.st (diff)
The file was modifiedsrc/Kernel/TemporaryVariable.class.st (diff)
The file was modifiedsrc/Slot-Core/CompiledMethod.extension.st (diff)
The file was modifiedsrc/Slot-Tests/TemporaryVariableTest.class.st (diff)
The file was modifiedsrc/ReleaseTests/NoUnusedTemporaryVariablesLeftTest.class.st (diff)