3.9 vs. 3.10 : Closures, fixTemps
itsme213
itsme213 at hotmail.com
Wed Dec 19 14:08:28 UTC 2007
"Mathieu Suen" <mathk.sue at gmail.com> wrote
> The NewCompiler status is:
>
> Compiler:
> - Block closure - Work
I have not yet tried NewCompiler, but here is one that does not work in
3.10. At point 1>>, newModel is correct and non-nil. At point 2>> newModel
is nil. I'm trying this on 3.10gamma.
Thanks -- Sophie
renderNewModelButton: html
{ M1. M2 } do:
[ : modelClass |
html submitButton
callback:
[ | newModel |
self session magma commit: [
newModel := self repository models add: modelClass new.
1>> self halt] fixTemps.
self halt.
2>> self call: (newModel viewerClass new model: newModel).
selectedModel := nil ] fixTemps;
value: #New , ' ' , modelClass name ]
> Decompiler
> - Block closure - Don't Work (That should not take too long to fix it)
That would unfortunately make it impossible for newbies like me to debug
etc.
More information about the Squeak-dev
mailing list
|