fixed store_into_numeric_rcv_slot() which checked the return value of hak_inttooow() in a wrong way

This commit is contained in:
2025-09-16 18:13:12 +09:00
parent 3faca8ae98
commit 1c8115dbc9
6 changed files with 50 additions and 29 deletions

View File

@ -114,8 +114,25 @@ class[attributes] Name: Superclass (ivars (cvars)) {
function body
}
}
```
```
class[#b] B (a b) {
fun[#ci] new() {
self.a := 88
self.b := 99
}
fun print() {
printf "%d %d\n" self.a self.b
}
}
x := (B:new)
x:print
```
## Redefining a primitive function