mirror of
https://github.com/leporello-js/leporello-js
synced 2026-01-13 13:04:30 -08:00
add failing test for named function exprs
This commit is contained in:
@@ -601,6 +601,14 @@ export const tests = [
|
||||
)
|
||||
}),
|
||||
|
||||
/* TODO
|
||||
test('named function scope', () => {
|
||||
const code = 'const x = function y() { y }'
|
||||
const parse_result = do_parse(code)
|
||||
assert_equal(parse_result.ok, true)
|
||||
}),
|
||||
*/
|
||||
|
||||
test('record call chain', () => {
|
||||
const code = `
|
||||
const x = () => ({
|
||||
|
||||
Reference in New Issue
Block a user