NewCompiler and Preferences compileBlocksAsClosures
Klaus D. Witzel
klaus.witzel at cobss.com
Mon Oct 16 08:51:27 UTC 2006
List,
the value of Preferences compileBlocksAsClosures can have a meaning
- for a single or a group of methods
- for all methods of one or more classes
- for the lifetime of the current session
- forever
It is easy to predict problems when a method was compiled with Preferences
compileBlocksAsClosures set true and, after it was distributed, whoever
loads it has Preferences compileBlocksAsClosures set false.
Wouldn't it be time to make Preferences compileBlocksAsClosures a pragma
(a method property), in the sense of a compiler directive, in the scope of
the method being (re-)compiled.
/Klaus
More information about the Squeak-dev
mailing list
|