|
NewCompiler crashes Squeak: msg#00127lang.smalltalk.squeak.beginners
Hi, I am running the April web development image sq3.10-7159web08.04.1 on Ubuntu. Following this sample from: http://www.nabble.com/problems-with-scoping-td6963420.html#a6963581 arr := Array withAll: #(1 2 3 4 5 ). blocks := arr collect: [ :i | [Transcript show: i] ]. blocks do:[:item | item value]. running in a workspace I get the return 55555. arr := Array withAll: #(1 2 3 4 5 ). blocks := arr collect: [ :i | [Transcript show: i] fixTemps ]. blocks do:[:item | item value]. returns 12345. When I load AST and NewCompiler through SqueakMap, and enable the options compileUseNewCompiler and compileBlocksAsClosures and repeat arr := Array withAll: #(1 2 3 4 5 ). blocks := arr collect: [ :i | [Transcript show: i] ]. blocks do:[:item | item value]. Squeak crashes. Am I doing something obviously wrong? ...Stan
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: I am a total beginner with some questions, Michael Haupt |
|---|---|
| Next by Date: | Re: I am a total beginner with some questions, Bert Freudenberg |
| Previous by Thread: | back and forth, David H. Shanabrook |
| Next by Thread: | Downloading the Squeak By Example Sources from the SVN reposotory, Offray Vladimir Luna Cárdenas |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |