May 31, 2014
6:58 a.m.
On 31 May 2014, at 11:24, stepharo <stepharo@free.fr> wrote:
Hi guys.
I have 1 important question about RBSmalllintChecker>>checkClass:
In Pharo 2, implementation performs:
environment definesClass: aClass
while in Pharo 3 itâs:
environment includesClass: aClass
This means that in Pharo 3 we check classes that are not defined in the environment but only contain classes which environment extends. Is this correct?
No idea. Did you check the implementation of defines and includes?
Yes, it havenât changed from Pharo 2 to Pharo 3. #definesClass: checks if a package includes class, while #includesClass checks additionally if package includes extensions to this class. Uko