nashorn/test/script/basic/optimistic_logical_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:
diff changeset
     1
object AND object: object
01ea334ab39a 8037572: Add more test cases to check static types
mnunez
parents:
diff changeset
     2
true AND non-falsey global int: int
01ea334ab39a 8037572: Add more test cases to check static types
mnunez
parents:
diff changeset
     3
non-falsey global int AND true: boolean
01ea334ab39a 8037572: Add more test cases to check static types
mnunez
parents:
diff changeset
     4
non-falsey object AND true: boolean
01ea334ab39a 8037572: Add more test cases to check static types
mnunez
parents:
diff changeset
     5
true AND non-falsey object: object
01ea334ab39a 8037572: Add more test cases to check static types
mnunez
parents:
diff changeset
     6
object OR object: object
01ea334ab39a 8037572: Add more test cases to check static types
mnunez
parents:
diff changeset
     7
true OR non-falsey global int: boolean
01ea334ab39a 8037572: Add more test cases to check static types
mnunez
parents:
diff changeset
     8
non-falsey global int OR true: int
01ea334ab39a 8037572: Add more test cases to check static types
mnunez
parents:
diff changeset
     9
non-falsey object OR true: object
01ea334ab39a 8037572: Add more test cases to check static types
mnunez
parents:
diff changeset
    10
true OR non-falsey object: boolean
01ea334ab39a 8037572: Add more test cases to check static types
mnunez
parents:
diff changeset
    11
false OR true: boolean
01ea334ab39a 8037572: Add more test cases to check static types
mnunez
parents:
diff changeset
    12
falsey global int AND true: int
01ea334ab39a 8037572: Add more test cases to check static types
mnunez
parents:
diff changeset
    13
falsey global int OR undefined: undefined
01ea334ab39a 8037572: Add more test cases to check static types
mnunez
parents:
diff changeset
    14
logical not falsey global int OR undefined: boolean
01ea334ab39a 8037572: Add more test cases to check static types
mnunez
parents:
diff changeset
    15
false OR undefined: undefined
01ea334ab39a 8037572: Add more test cases to check static types
mnunez
parents:
diff changeset
    16
false OR falsey global int: int
01ea334ab39a 8037572: Add more test cases to check static types
mnunez
parents:
diff changeset
    17
logical not falsey global int OR falsey global int: boolean
01ea334ab39a 8037572: Add more test cases to check static types
mnunez
parents:
diff changeset
    18
local undefined AND non-falsey global int: undefined
01ea334ab39a 8037572: Add more test cases to check static types
mnunez
parents:
diff changeset
    19
true AND local undefined: undefined
01ea334ab39a 8037572: Add more test cases to check static types
mnunez
parents:
diff changeset
    20
local undefined AND non-falsey local int: undefined
01ea334ab39a 8037572: Add more test cases to check static types
mnunez
parents:
diff changeset
    21
local undefined OR true: boolean
01ea334ab39a 8037572: Add more test cases to check static types
mnunez
parents:
diff changeset
    22
true OR local undefined: boolean
01ea334ab39a 8037572: Add more test cases to check static types
mnunez
parents:
diff changeset
    23
non-falsey local int AND true: boolean
01ea334ab39a 8037572: Add more test cases to check static types
mnunez
parents:
diff changeset
    24
true AND non-falsey local int: int
01ea334ab39a 8037572: Add more test cases to check static types
mnunez
parents:
diff changeset
    25
true AND double logical not non-falsey local int : boolean
01ea334ab39a 8037572: Add more test cases to check static types
mnunez
parents:
diff changeset
    26
false AND non-falsey local int: boolean
01ea334ab39a 8037572: Add more test cases to check static types
mnunez
parents:
diff changeset
    27
non-falsey local int OR true: int
24751
ccbd9cd3f720 8042118: Separate types from symbols
attila
parents: 24750
diff changeset
    28
false OR true: boolean