fixed wrong spec decoding in core.basicAt and core.basicAtPut functions
This commit is contained in:
@ -136,15 +136,18 @@ printf "----------------------------------------\n"
|
||||
k := #[1 2 3]
|
||||
printf "%O\n" (k:basicAt 2)
|
||||
|
||||
class Z: Object [ a b c ] {
|
||||
class (#varying) Z: Object [ a b c ] {
|
||||
fun(#classinst) new() {
|
||||
self.a := 10
|
||||
self.b := 20
|
||||
self.c := 30
|
||||
printf "Z:new called\n"
|
||||
}
|
||||
}
|
||||
##k := (Z:basicNew 0)
|
||||
k := (Z:new)
|
||||
|
||||
k := (Z:basicNew 10)
|
||||
##k := (Z:new)
|
||||
k:basicAtPut 2 "hello"
|
||||
k:basicAtPut 3 "world"
|
||||
printf "----------------------------------------\n"
|
||||
printf "%O\n" (k:basicAt 2)
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user