Bug 48224

GemStone/S 64 Bit

3.5, 3.4.3, 3.4.2, 3.4.1, 3.4, 3.3.9, 3.3.8, 3.3.7, 3.3.6, 3.3.5, 3.3.4, 3.3.3, 3.3.2, 3.3.1, 3.3, 3.2.1.6, 3.2.1.5, 3.2.1.4, 3.2.1.3, earlier versions

3.5.1, 3.4.4

Incorrect execution results due to compiler block optimization

There is an error in the compiler’s optimization of certain expressions including blocks and nil, such that this could return incorrect results.

For example, this is an incorrect result:

topaz 1> run
   | object |
   object := 5 .
   (object ifNil:[ nil ]) == object
%
false


Last updated: 1/17/20