mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
12 lines
431 B
Plaintext
12 lines
431 B
Plaintext
//// [tests/cases/conformance/es6/functionDeclarations/FunctionDeclaration9_es6.ts] ////
|
|
|
|
=== FunctionDeclaration9_es6.ts ===
|
|
function * foo() {
|
|
>foo : Symbol(foo, Decl(FunctionDeclaration9_es6.ts, 0, 0))
|
|
|
|
var v = { [yield]: foo }
|
|
>v : Symbol(v, Decl(FunctionDeclaration9_es6.ts, 1, 5))
|
|
>[yield] : Symbol([yield], Decl(FunctionDeclaration9_es6.ts, 1, 11))
|
|
>foo : Symbol(foo, Decl(FunctionDeclaration9_es6.ts, 0, 0))
|
|
}
|