nashorn/test/script/basic/optimistic_check_type.js.EXPECTED
author hannesw
Fri, 03 Feb 2017 13:28:00 +0100
changeset 43555 1bb10bccf057
parent 24751 ccbd9cd3f720
permissions -rw-r--r--
8173888: Test for JDK-8169481 causes stack overflows in parser tests Reviewed-by: jlaskey, sundar
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
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
ccbd9cd3f720 8042118: Separate types from symbols
attila
parents: 24750
diff changeset
    30
outer local int multiplication by global undefined: double