You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Nashorn runs with :optimizations :none are prevented and show a useful error message:
Caused by: java.lang.AssertionError: Assert failed: Nashorn doesn't support :optimizations :none
When using :optimizations :whitespace the runner starts but results in the following error. The same setup with :optimizations :simple works though.
lein doo nashorn once
;; ======================================================================
;; Testing with Nashorn:
Error while loading file: "target/tests.js"
Error: Namespace "foo.mytest" already declared.
At line 17
WARNING: doo's init function was not set or is not a function
Subprocess failed
Maybe the assert producing the first error should also catch the whitespace optimization? Or should Nashorn be able to actually run such a setup?
The text was updated successfully, but these errors were encountered:
Nashorn runs with
:optimizations :none
are prevented and show a useful error message:When using
:optimizations :whitespace
the runner starts but results in the following error. The same setup with:optimizations :simple
works though.Maybe the assert producing the first error should also catch the whitespace optimization? Or should Nashorn be able to actually run such a setup?
The text was updated successfully, but these errors were encountered: