Wed, 06 Nov 2019 17:13:21 +0100
8223898: Forward references to Nashorn
Reviewed-by: sundar, mschoene, rhalade
sundar@1404 | 1 | test/script/error/object_literal_in_new_nse.js:31:33 Expected ; but found { |
sundar@1404 | 2 | var r = new java.lang.Runnable() { |
sundar@1404 | 3 | ^ |
sundar@1404 | 4 | test/script/error/object_literal_in_new_nse.js:32:15 Expected ident but found ( |
sundar@1404 | 5 | run: function() { print("hello"); } |
sundar@1404 | 6 | ^ |
sundar@1404 | 7 | test/script/error/object_literal_in_new_nse.js:32:36 Expected eof but found } |
sundar@1404 | 8 | run: function() { print("hello"); } |
sundar@1404 | 9 | ^ |