mirror of
https://github.com/leporello-js/leporello-js
synced 2026-01-13 13:04:30 -08:00
refactor tests
This commit is contained in:
@@ -709,6 +709,10 @@ const get_value_explorer = (state, index) => {
|
||||
|
||||
if(frame.type == 'function_expr' && frame.body.type != 'do') {
|
||||
const result = frame.children[1].result
|
||||
if(result == null) {
|
||||
// Error in arguments, body not evaluated
|
||||
return null
|
||||
}
|
||||
return {
|
||||
index: frame.children[1].index,
|
||||
length: frame.children[1].length,
|
||||
|
||||
Reference in New Issue
Block a user