File: arithmeticOnInvalidTypes.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 (29 lines) | stat: -rw-r--r-- 1,193 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
27
28
29
=== tests/cases/compiler/arithmeticOnInvalidTypes.ts ===
var x: Number;
>x : Symbol(x, Decl(arithmeticOnInvalidTypes.ts, 0, 3))
>Number : Symbol(Number, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --))

var y: Number;
>y : Symbol(y, Decl(arithmeticOnInvalidTypes.ts, 1, 3))
>Number : Symbol(Number, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --))

var z = x + y;
>z : Symbol(z, Decl(arithmeticOnInvalidTypes.ts, 2, 3))
>x : Symbol(x, Decl(arithmeticOnInvalidTypes.ts, 0, 3))
>y : Symbol(y, Decl(arithmeticOnInvalidTypes.ts, 1, 3))

var z2 = x - y;
>z2 : Symbol(z2, Decl(arithmeticOnInvalidTypes.ts, 3, 3))
>x : Symbol(x, Decl(arithmeticOnInvalidTypes.ts, 0, 3))
>y : Symbol(y, Decl(arithmeticOnInvalidTypes.ts, 1, 3))

var z3 = x * y;
>z3 : Symbol(z3, Decl(arithmeticOnInvalidTypes.ts, 4, 3))
>x : Symbol(x, Decl(arithmeticOnInvalidTypes.ts, 0, 3))
>y : Symbol(y, Decl(arithmeticOnInvalidTypes.ts, 1, 3))

var z4 = x / y;
>z4 : Symbol(z4, Decl(arithmeticOnInvalidTypes.ts, 5, 3))
>x : Symbol(x, Decl(arithmeticOnInvalidTypes.ts, 0, 3))
>y : Symbol(y, Decl(arithmeticOnInvalidTypes.ts, 1, 3))