nedap / speced.def

spec-backed forms of defn/defprotocol/..., aided by metadata
Eclipse Public License 2.0
67 stars 3 forks source link

`speced/let` expands to `check!` calls without an `assert` wrapping #93

Closed vemv closed 5 years ago

vemv commented 5 years ago

Brief

e.g. https://github.com/nedap/speced.def/blob/90f513a581d7fe5bc261231d043d89a6167406fa/test/unit/nedap/speced/def/let_test.cljc#L82 lacks an assert wrapping, which has a production impact.

Expected behavior

speced/let is a plain let if !*assert*

Actual behavior

It does perform check!ing