test/script/basic/optimistic_check_type.js.EXPECTED

Tue, 01 Sep 2015 18:28:11 +0530

author
sundar
date
Tue, 01 Sep 2015 18:28:11 +0530
changeset 1521
eed10d5bf2f4
parent 963
e2497b11a021
permissions
-rw-r--r--

8068901: Surprising behavior with more than one functional interface on a class
8068903: Can't invoke vararg @FunctionalInterface methods
Reviewed-by: attila, hannesw

     1 ternary operator: int
     2 ternary operator: int
     3 ternary operator: double
     4 ternary operator: int
     5 ternary operator: undefined
     6 ternary operator: boolean
     7 ternary operator: undefined
     8 ternary operator: int
     9 global double toFixed(): object
    10 global double toPrecision() divided by 1: double
    11 global double toExponential(): object
    12 member object: object
    13 member undefined: undefined
    14 conditional on array member: double
    15 conditional on array member: int
    16 conditional on array member: object
    17 conditional on array member: int
    18 outer local variable: int
    19 global variable: int
    20 outer local int multiplication by outer local int: int
    21 global int multiplication by global undefined: double
    22 local undefined: undefined
    23 local undefined addition local undefined: double
    24 local undefined multiplication by undefined: double
    25 local undefined AND local undefined: undefined
    26 global true OR local undefined: boolean
    27 outer local true addition local int: double
    28 global int addition outer local true: double
    29 outer local true multiplication by outer local int: double
    30 outer local int multiplication by global undefined: double

mercurial