equal
deleted
inserted
replaced
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; |