Fix nested function declarations

This commit is contained in:
Andrew Morris
2023-03-24 15:31:24 +11:00
parent bb2c49d9a7
commit a7ced2eb76
2 changed files with 34 additions and 1 deletions

View File

@@ -0,0 +1,9 @@
// test_output! 3
export default function () {
function foo() {
return 3;
}
return foo();
}