[squeak-dev] Color fromString: broken

Bert Freudenberg bert at freudenbergs.de
Wed Dec 8 23:07:50 UTC 2010


Test case:

	Color fromString: 'yellow'

used to return yellow. Now it returns a very dark gray.

The culprit is in #asNumber:

	'16rYE' asNumber

used to raise an error. Now it silently returns 16.

I can't imagine why this would be desirable?

- Bert -





More information about the Squeak-dev mailing list