[squeak-dev] Why do the Class Variables get sorted alphabetically?

Chris Cunningham cunningham.cb at gmail.com
Wed Aug 19 16:58:17 UTC 2015


I create a class with variables:

Object subclass: #ClassOrderExample
instanceVariableNames: 'a d e c b'
classVariableNames: 'A D E C B'
poolDictionaries: ''
category: 'Example'
(in that order, because that is the right order).

As soon as I save the class:

Object subclass: #ClassOrderExample
instanceVariableNames: 'a d e c b'
classVariableNames: 'A B C D E'
poolDictionaries: ''
category: 'Example'

Why?

Note that the instance variables aren't sorted.

(using 5.0 - not sure if that is relevant or not)

-cbc
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20150819/14b06b21/attachment-0001.htm


More information about the Squeak-dev mailing list