Skip to content
New issue

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

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

Already on GitHub? # to your account

File causes joker --lint to throw exception #41

Closed
martinklepsch opened this issue Dec 23, 2017 · 3 comments
Closed

File causes joker --lint to throw exception #41

martinklepsch opened this issue Dec 23, 2017 · 3 comments

Comments

@martinklepsch
Copy link
Contributor

When linting boot/core.clj joker throws an exception near the end of the file.

@candid82
Copy link
Owner

If you referring to this:

<stdin>:1316:21: Parse warning: duplicate require for boot.repl
Stacktrace:
  global <stdin>:1316:11
  joker.core/require <joker.core>:3339:3
  joker.core/apply <joker.core>:508:4
  joker.core/apply__ <joker.core>:3259:9
  joker.core/apply <joker.core>:508:4
  joker.core/apply__ <joker.core>:3216:20
  joker.core/ex-info <user>:195:27

this is expected behavior. It prints stacktrace because the problem was found while evaluating a macro. Stacktraces can be ignored in Joker output when running in linter mode. The important part is <stdin>:1316:21: Parse warning: duplicate require for boot.repl, which may (or may not) indicate an issue.

@martinklepsch
Copy link
Contributor Author

Got it, seeing a stacktrace makes me think something isn't functioning as expected but I guess I'll close this then. :)

@candid82
Copy link
Owner

candid82 commented Jan 2, 2018

This is addressed by c29cc98 to avoid confusion in the future.

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

No branches or pull requests

2 participants