reuse callSymbol helper
Some checks failed
CI / test (push) Failing after 53s
CI / test-core (14, ubuntu-latest, 3.x, js) (push) Failing after 1m40s
CI / test-core (14, ubuntu-latest, 3.x, cpp) (push) Failing after 1m47s
CI / test-core (14, ubuntu-latest, 3.x, py) (push) Failing after 2m14s
CI / test-core (14, ubuntu-latest, 3.x, interp) (push) Failing after 2m36s
CI / test-core (14, ubuntu-latest, 3.x, nodejs) (push) Failing after 1m40s
Some checks failed
CI / test (push) Failing after 53s
CI / test-core (14, ubuntu-latest, 3.x, js) (push) Failing after 1m40s
CI / test-core (14, ubuntu-latest, 3.x, cpp) (push) Failing after 1m47s
CI / test-core (14, ubuntu-latest, 3.x, py) (push) Failing after 2m14s
CI / test-core (14, ubuntu-latest, 3.x, interp) (push) Failing after 2m36s
CI / test-core (14, ubuntu-latest, 3.x, nodejs) (push) Failing after 1m40s
This commit is contained in:
@@ -69,7 +69,7 @@
|
||||
(if hasOpt
|
||||
null
|
||||
(throw "not enough arguments! need $argName")))))
|
||||
(evalCC (ReaderExpDef.CallExp (object pos null def (ReaderExpDef.Symbol "begin")) bodyExps)
|
||||
(evalCC (callSymbol "begin" bodyExps)
|
||||
->v
|
||||
{
|
||||
(set localScopes currentLocals)
|
||||
@@ -114,7 +114,7 @@
|
||||
(dictSet scope vName val)
|
||||
(nextVar)
|
||||
}))
|
||||
(evalCC (ReaderExpDef.CallExp (makeExp (Symbol "begin")) body) ->result {
|
||||
(evalCC (callSymbol "begin" body) ->result {
|
||||
(localScopes.pop)
|
||||
(cc result)
|
||||
})))
|
||||
|
||||
Reference in New Issue
Block a user