QuickSilver Compiler Bug Fix: “self” in Blocks
February 25, 2011
One of the major QuickSilver bugs that I reported in a previous post has been fixed.
“self” can now be used freely in blocks without causing problems.
The source code for the QuickSilver compiler along with the current static Smalltalk libraries can be found in the Google code repository.
Here are a few Smalltalk tricks to help diagnosing problems:
will open an inspector window on all globally defined variables, including all classes.
ClassName methodNames inspect
will open an inspector on a list of method names for a class
Behavior methodNames inspect
Behavior class methodNames inspect
These will show instance methods and class methods respectively for the class “Behavior”.
(ClassName methodText: 'methodName') inspect
(ClassName methodGen: 'methodName') inspect
(Array methodText: 'collect:') inspect
(Array methodGen: 'collect:') inspect