pharo-project / pharo-vm

This is the VM used by Pharo
http://pharo.org
Other
113 stars 68 forks source link

Do not allow comparing objects of different types #772

Closed guillep closed 5 months ago

guillep commented 5 months ago

Even though they are both bytes/words, failing the primitive.

This prevents wrongly comparing wide strings with byte strings on a byte-per-byte basis.