Fix some problems with KissInterp2
Some checks failed
CI / test (push) Failing after 16s
CI / test-core (14, ubuntu-latest, 3.x, cpp) (push) Failing after 46s
CI / test-core (14, ubuntu-latest, 3.x, js) (push) Failing after 38s
CI / test-core (14, ubuntu-latest, 3.x, interp) (push) Failing after 1m10s
CI / test-core (14, ubuntu-latest, 3.x, nodejs) (push) Failing after 47s
CI / test-core (14, ubuntu-latest, 3.x, py) (push) Failing after 1m12s

This commit is contained in:
2025-11-11 20:13:27 -06:00
parent 8c8c03a7ad
commit 76a50653d7

View File

@@ -134,7 +134,7 @@
->container ->container
(evalCC (second args) (evalCC (second args)
->key ->key
(cc (container.get key)))) (cc (.get (cast container Map<String,Dynamic>) key))))
=>"lambda" =>"lambda"
->[args cc] ->[args cc]
(let [argExps (Prelude.argList (first args) "lambda") bodyExps (rest args)] (let [argExps (Prelude.argList (first args) "lambda") bodyExps (rest args)]
@@ -221,7 +221,7 @@
((CallExp callable args) ((CallExp callable args)
(evalCC callable ->f { (evalCC callable ->f {
(_evalAllCC args ->values (_evalAllCC args ->values
(case callable (case (transformToFieldExp callable)
// Method call // Method call
((object def (FieldExp field obj safe)) ((object def (FieldExp field obj safe))
(evalCC obj ->o { (evalCC obj ->o {