Closed vemv closed 3 years ago
See: https://github.com/noprompt/meander/pull/172#issuecomment-812314943
This way we ensure that the following:
(defmacro val-op {:private true} [x] (try (let [c (Class/forName "cljs.tagged_literals.JSValue")] `(.val ^"cljs.tagged_literals.JSValue" ~x)) (catch ClassNotFoundException _ `(.val ~x))))
...doesn't cause an issue in either branch of the try/catch.
try/catch
@vemv Thanks again! 👍
This way we ensure that the following:
...doesn't cause an issue in either branch of the
try/catch
.