mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
12 lines
323 B
Plaintext
12 lines
323 B
Plaintext
//// [tests/cases/compiler/blockScopedFunctionDeclarationES6.ts] ////
|
|
|
|
=== blockScopedFunctionDeclarationES6.ts ===
|
|
if (true) {
|
|
function foo() { }
|
|
>foo : Symbol(foo, Decl(blockScopedFunctionDeclarationES6.ts, 0, 11))
|
|
|
|
foo();
|
|
>foo : Symbol(foo, Decl(blockScopedFunctionDeclarationES6.ts, 0, 11))
|
|
}
|
|
foo();
|