TypeScript/tests/baselines/reference/asiPreventsParsingAsInterface02.symbols

16 lines
676 B
Plaintext
Raw Normal View History

2015-06-04 23:03:00 +02:00
=== tests/cases/conformance/interfaces/interfaceDeclarations/asiPreventsParsingAsInterface02.ts ===
function f(interface: number, I: string) {
>f : Symbol(f, Decl(asiPreventsParsingAsInterface02.ts, 0, 0))
>interface : Symbol(interface, Decl(asiPreventsParsingAsInterface02.ts, 1, 11))
2015-06-04 23:37:40 +02:00
>I : Symbol(I, Decl(asiPreventsParsingAsInterface02.ts, 1, 29))
2015-06-04 23:03:00 +02:00
interface // This should be the identifier 'interface'
2015-06-04 23:37:40 +02:00
>interface : Symbol(interface, Decl(asiPreventsParsingAsInterface02.ts, 1, 11))
2015-06-04 23:03:00 +02:00
I // This should be the identifier 'I'
2015-06-04 23:37:40 +02:00
>I : Symbol(I, Decl(asiPreventsParsingAsInterface02.ts, 1, 29))
2015-06-04 23:03:00 +02:00
{} // This should be a block body
}