File: errorWithTruncatedType.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 (26 lines) | stat: -rw-r--r-- 1,203 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
=== tests/cases/compiler/errorWithTruncatedType.ts ===
var x: {
>x : Symbol(x, Decl(errorWithTruncatedType.ts, 0, 3))

    propertyWithAnExceedinglyLongName1: string;
>propertyWithAnExceedinglyLongName1 : Symbol(propertyWithAnExceedinglyLongName1, Decl(errorWithTruncatedType.ts, 0, 8))

    propertyWithAnExceedinglyLongName2: string;
>propertyWithAnExceedinglyLongName2 : Symbol(propertyWithAnExceedinglyLongName2, Decl(errorWithTruncatedType.ts, 1, 47))

    propertyWithAnExceedinglyLongName3: string;
>propertyWithAnExceedinglyLongName3 : Symbol(propertyWithAnExceedinglyLongName3, Decl(errorWithTruncatedType.ts, 2, 47))

    propertyWithAnExceedinglyLongName4: string;
>propertyWithAnExceedinglyLongName4 : Symbol(propertyWithAnExceedinglyLongName4, Decl(errorWithTruncatedType.ts, 3, 47))

    propertyWithAnExceedinglyLongName5: string;
>propertyWithAnExceedinglyLongName5 : Symbol(propertyWithAnExceedinglyLongName5, Decl(errorWithTruncatedType.ts, 4, 47))

};

// String representation of type of 'x' should be truncated in error message
var s: string = x;
>s : Symbol(s, Decl(errorWithTruncatedType.ts, 9, 3))
>x : Symbol(x, Decl(errorWithTruncatedType.ts, 0, 3))