<div dir="ltr"><div>See <a href="http://stackoverflow.com/questions/17129583/smalltalk-collection-is-empty-error-when-saving/17202938#17202938">http://stackoverflow.com/questions/17129583/smalltalk-collection-is-empty-error-when-saving/17202938#17202938</a><br>
<br>This bug was found by a newbie on pharo 1.1, but it's still there in 4.5 trunk image<br><br>Try to decompile this (no matter in which class)<br><br>< aNumberWithUnits<br> (self compareUnits: aNumberWithUnits) <br>
ifTrue: [self value: ((aNumberWithUnits value) < (self value) ifTrue: [^true] ifFalse: [^false]).] <br> ifFalse: [^Error new signal: 'Incompatible unit types.'].<br><br></div>Thanks to the newbie!<br>
I would just have hated that!<br>Learning from one's own error is great, but from a dysfunctional system not so :(<br></div>