author | alanb |
Sat, 30 Nov 2019 16:21:19 +0000 | |
changeset 59329 | 289000934908 |
parent 47216 | 71c04702a3d5 |
permissions | -rw-r--r-- |
24750
01ea334ab39a
8037572: Add more test cases to check static types
mnunez
parents:
24723
diff
changeset
|
1 |
ternary operator: int |
01ea334ab39a
8037572: Add more test cases to check static types
mnunez
parents:
24723
diff
changeset
|
2 |
ternary operator: int |
01ea334ab39a
8037572: Add more test cases to check static types
mnunez
parents:
24723
diff
changeset
|
3 |
ternary operator: double |
01ea334ab39a
8037572: Add more test cases to check static types
mnunez
parents:
24723
diff
changeset
|
4 |
ternary operator: int |
01ea334ab39a
8037572: Add more test cases to check static types
mnunez
parents:
24723
diff
changeset
|
5 |
ternary operator: undefined |
01ea334ab39a
8037572: Add more test cases to check static types
mnunez
parents:
24723
diff
changeset
|
6 |
ternary operator: boolean |
01ea334ab39a
8037572: Add more test cases to check static types
mnunez
parents:
24723
diff
changeset
|
7 |
ternary operator: undefined |
01ea334ab39a
8037572: Add more test cases to check static types
mnunez
parents:
24723
diff
changeset
|
8 |
ternary operator: int |
01ea334ab39a
8037572: Add more test cases to check static types
mnunez
parents:
24723
diff
changeset
|
9 |
global double toFixed(): object |
01ea334ab39a
8037572: Add more test cases to check static types
mnunez
parents:
24723
diff
changeset
|
10 |
global double toPrecision() divided by 1: double |
01ea334ab39a
8037572: Add more test cases to check static types
mnunez
parents:
24723
diff
changeset
|
11 |
global double toExponential(): object |
01ea334ab39a
8037572: Add more test cases to check static types
mnunez
parents:
24723
diff
changeset
|
12 |
member object: object |
01ea334ab39a
8037572: Add more test cases to check static types
mnunez
parents:
24723
diff
changeset
|
13 |
member undefined: undefined |
01ea334ab39a
8037572: Add more test cases to check static types
mnunez
parents:
24723
diff
changeset
|
14 |
conditional on array member: double |
01ea334ab39a
8037572: Add more test cases to check static types
mnunez
parents:
24723
diff
changeset
|
15 |
conditional on array member: int |
01ea334ab39a
8037572: Add more test cases to check static types
mnunez
parents:
24723
diff
changeset
|
16 |
conditional on array member: object |
01ea334ab39a
8037572: Add more test cases to check static types
mnunez
parents:
24723
diff
changeset
|
17 |
conditional on array member: int |
24723
215d17db59ad
8036986: Test should check that correctly type is returned running with optimistic. If optimistic assumption was wrong we should get the right one.
lagergren
parents:
diff
changeset
|
18 |
outer local variable: int |
215d17db59ad
8036986: Test should check that correctly type is returned running with optimistic. If optimistic assumption was wrong we should get the right one.
lagergren
parents:
diff
changeset
|
19 |
global variable: int |
24750
01ea334ab39a
8037572: Add more test cases to check static types
mnunez
parents:
24723
diff
changeset
|
20 |
outer local int multiplication by outer local int: int |
01ea334ab39a
8037572: Add more test cases to check static types
mnunez
parents:
24723
diff
changeset
|
21 |
global int multiplication by global undefined: double |
01ea334ab39a
8037572: Add more test cases to check static types
mnunez
parents:
24723
diff
changeset
|
22 |
local undefined: undefined |
01ea334ab39a
8037572: Add more test cases to check static types
mnunez
parents:
24723
diff
changeset
|
23 |
local undefined addition local undefined: double |
01ea334ab39a
8037572: Add more test cases to check static types
mnunez
parents:
24723
diff
changeset
|
24 |
local undefined multiplication by undefined: double |
01ea334ab39a
8037572: Add more test cases to check static types
mnunez
parents:
24723
diff
changeset
|
25 |
local undefined AND local undefined: undefined |
01ea334ab39a
8037572: Add more test cases to check static types
mnunez
parents:
24723
diff
changeset
|
26 |
global true OR local undefined: boolean |
01ea334ab39a
8037572: Add more test cases to check static types
mnunez
parents:
24723
diff
changeset
|
27 |
outer local true addition local int: double |
01ea334ab39a
8037572: Add more test cases to check static types
mnunez
parents:
24723
diff
changeset
|
28 |
global int addition outer local true: double |
01ea334ab39a
8037572: Add more test cases to check static types
mnunez
parents:
24723
diff
changeset
|
29 |
outer local true multiplication by outer local int: double |
24751 | 30 |
outer local int multiplication by global undefined: double |