Changes

Summary

  1. What happens is that we visit the last literal of the block for effect, which in case of literals is opimized to do nothing. (details)
Commit 3d32850382f4a665448ee94aeccb30979e2c6490 by marcus.denker
What happens is that we visit the last literal of the block for effect, which in case of literals is opimized to do nothing.
With the block now emoty, it is not generated in the case of optimizied constructs.

The best fix for now is to remove that optimization.
The file was modifiedsrc/OpalCompiler-Tests/MustBeBooleanTest.class.st (diff)
The file was modifiedsrc/OpalCompiler-Core/OCASTTranslatorForEffect.class.st (diff)