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
So this was relatively hard to debug - I only found out that the value returned by RT.get(LOCAL_ENV.deref(), sym) was :riddley.compiler/analyze-failure by adding more error messages in the Clojure compiler...
The ignored exception in register-local was a java.lang.RuntimeException: Method code too large!, this would have been valuable information.
Do you have any ideas how to improve this?
I assume there are use cases where the exception really should be ignored, but I think cloverage would want the exception to be thrown.
The text was updated successfully, but these errors were encountered:
Hello :)
register-local
returns::analyze-failure
, if creating thelocalBinding
threw an Exception: https://github.com/ztellman/riddley/blob/master/src/riddley/compiler.clj#L67I encountered an issue using cloverage (cloverage/cloverage#208) where the user-facing exception was a
ClassCastException
in the Clojure compiler (https://github.com/clojure/clojure/blob/4ff462372c29ff2bc22b4d39962ad526f7e2c73d/src/jvm/clojure/lang/Compiler.java#L7289).So this was relatively hard to debug - I only found out that the value returned by
RT.get(LOCAL_ENV.deref(), sym)
was:riddley.compiler/analyze-failure
by adding more error messages in the Clojure compiler...The ignored exception in
register-local
was ajava.lang.RuntimeException: Method code too large!
, this would have been valuable information.Do you have any ideas how to improve this?
I assume there are use cases where the exception really should be ignored, but I think cloverage would want the exception to be thrown.
The text was updated successfully, but these errors were encountered: