File: objectLiteralErrorsES3.symbols

package info (click to toggle)
node-typescript 3.3.3333-1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 324,548 kB
  • sloc: makefile: 6; sh: 3
file content (17 lines) | stat: -rw-r--r-- 798 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
=== tests/cases/conformance/expressions/objectLiterals/objectLiteralErrorsES3.ts ===
var e1 = { get a() { return 4; } };
>e1 : Symbol(e1, Decl(objectLiteralErrorsES3.ts, 0, 3))
>a : Symbol(a, Decl(objectLiteralErrorsES3.ts, 0, 10))

var e2 = { set a(n) { } };
>e2 : Symbol(e2, Decl(objectLiteralErrorsES3.ts, 1, 3))
>a : Symbol(a, Decl(objectLiteralErrorsES3.ts, 1, 10))
>n : Symbol(n, Decl(objectLiteralErrorsES3.ts, 1, 17))

var e3 = { get a() { return ''; }, set a(n) { } };
>e3 : Symbol(e3, Decl(objectLiteralErrorsES3.ts, 2, 3))
>a : Symbol(a, Decl(objectLiteralErrorsES3.ts, 2, 10), Decl(objectLiteralErrorsES3.ts, 2, 34))
>a : Symbol(a, Decl(objectLiteralErrorsES3.ts, 2, 10), Decl(objectLiteralErrorsES3.ts, 2, 34))
>n : Symbol(n, Decl(objectLiteralErrorsES3.ts, 2, 41))