nashorn/test/script/basic/optimistic_check_type.js
changeset 25828 077046a5d726
parent 24778 2ff5d7041566
child 26503 3ed48a01100c
equal deleted inserted replaced
25827:c406ec905701 25828:077046a5d726
    23 
    23 
    24 /**
    24 /**
    25  * @test
    25  * @test
    26  * @bug 8036987, 8037572
    26  * @bug 8036987, 8037572
    27  * @summary Implement tests that checks static types in the compiled code
    27  * @summary Implement tests that checks static types in the compiled code
       
    28  * @option --optimistic-types=true
    28  * @run
    29  * @run
    29  */
    30  */
    30 
    31 
    31 var inspect = Java.type("jdk.nashorn.test.tools.StaticTypeInspector").inspect
    32 var inspect = Java.type("jdk.nashorn.test.tools.StaticTypeInspector").inspect
    32 var a=3, b=2.3, c=true, d;
    33 var a=3, b=2.3, c=true, d;