|
Raffaello Giulietti reported:
the current (Pharo 6) code reads
^(self integerAt: byteOffset size: 1 signed: false) == true
so it always returns false, as no integer is identical to true.
Instead, it should read
^(self integerAt: byteOffset size: 1 signed: false) ~= 0
implementing the usual convention that 0 maps to false and every other value maps to true.
|
|
|
Priority: 5 – Fix If Time
|
|
Status: Work Needed
|
|
Assigned to: Everyone
|
|
Milestone: Pharo7.0
|
Go to Case
|
|