Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Empty stack traces on assertions #66

Closed
jeaye opened this issue Nov 19, 2016 · 1 comment
Closed

Empty stack traces on assertions #66

jeaye opened this issue Nov 19, 2016 · 1 comment

Comments

@jeaye
Copy link

jeaye commented Nov 19, 2016

I think this could be a regression of #5. I can print (pst) and I'll get a very nice stack trace. Without it, I don't get any stack trace. Here's an example of the output I'm seeing:

jank.dev=> (run "test.jank")

java.lang.AssertionError: Assert failed: type error: unknown binding trace
                          condition
jank.dev=> (pst)
                     clojure.core/eval        core.clj: 3187
                                   ...
                    jank.dev/eval23915       REPL Input
                                   ...
                          jank.dev/run         dev.clj:    5
                          jank.dev/run         dev.clj:    9
                    clojure.core/apply        core.clj:  657
                                   ...
                       jank.core/-main        core.clj:    8
                       jank.core/-main        core.clj:   11
                 jank.type.check/check       check.clj:   40
                 jank.type.check/check       check.clj:   52
                                   ...
          jank.type.check/eval25963/fn       check.clj:  183
                                   ...
          jank.type.check/eval25980/fn       check.clj:  238
   jank.type.expression/call-signature  expression.clj:   40
                    clojure.core/apply        core.clj:  652
                      clojure.core/seq        core.clj:  137
                                   ...
                   clojure.core/map/fn        core.clj: 2726
jank.type.expression/call-signature/fn  expression.clj:   40
                                   ...
     jank.type.expression/eval25671/fn  expression.clj:  151
                                   ...
               jank.assert/type-assert      assert.clj:    6
               jank.assert/type-assert      assert.clj:    7
java.lang.AssertionError: Assert failed: type error: unknown binding trace
                          condition
nil
jank.dev=>

This is using [venantius/ultra "0.5.0"] and [org.clojure/clojure "1.9.0-alpha13"].

@venantius
Copy link
Owner

While this is likely, I'm working on a complete overhaul of Ultra's stacktrace engine, so I'm going to close this as it'll be irrelevant once that's complete.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants