[squeak-dev] Interesting Decompiler bug
nicolas.cellier.aka.nice at gmail.com
Wed Jun 19 23:26:14 UTC 2013
This bug was found by a newbie on pharo 1.1, but it's still there in 4.5
Try to decompile this (no matter in which class)
(self compareUnits: aNumberWithUnits)
ifTrue: [self value: ((aNumberWithUnits value) < (self value)
ifTrue: [^true] ifFalse: [^false]).]
ifFalse: [^Error new signal: 'Incompatible unit types.'].
Thanks to the newbie!
I would just have hated that!
Learning from one's own error is great, but from a dysfunctional system not
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Squeak-dev