Hi,
A student of mine has accidentaly found something interesting
that may be already reported, but I do not have time to check.
The
thing is simple:
1) Create a class with accessors for
f.
SequenceableCollection subclass: #Foo
instanceVariableNames: 'f'
classVariableNames: ''
category: 'Varios'
2) Foo class >> new: d
^self new
f: (Array new: d*d)
3) Go to Workspace and inspect the following
code
| m |
m := Foo new: 2
And Pharo
crashes. Always crashes. I am using "Pharo 3.0 3" on OS X
10.6.8. I am pretty sure it is not a Smalltalk error since it works ok in
Squeak and VisualWorks.
So, is this a known
issue?
Bests,
Jordi