clojure-emacs / squiggly-clojure

Flycheck checker for Clojure, using eastwood and core.typed.
GNU General Public License v3.0
205 stars 25 forks source link

Identifying problems #7

Closed expez closed 9 years ago

expez commented 9 years ago

Hey

I just got this Typecheck not run: class java.lang.UnsupportedOperationException in my Messages buffer. Anything we can do to track down the cause of this? I've thought about logging to /tmp/, if some debug flag is set, for the refactor-nrepl middleware. Maybe we should do the same here while we iron out the kinks?

expez commented 9 years ago

With a higher chat level I get this instead:

java.lang.UnsupportedOperationException: nth not supported on this type: Keyword

pnf commented 9 years ago

Can you try (core.typed/check-ns whatever-ns) directly from the REPL?


Sent from my VAX-11/780

On Dec 21, 2014, at 05:22, Lars Andersen notifications@github.com wrote:

With a higher chat level I get this instead:

[1;31mjava.lang.UnsupportedOperationException[m: [3mnth not supported on this type: Keyword[m

— Reply to this email directly or view it on GitHub.

expez commented 9 years ago

that gave me a fat stacktrace. I've disabled that checker for now. I'm guessing it's pretty worthless if I don't use ann?

pnf commented 9 years ago

Yes, it would be. Still, we should handle egregious errors too. Can you put the stack trace in a gist?


Sent from my VAX-11/780

On Dec 21, 2014, at 09:03, Lars Andersen notifications@github.com wrote:

that gave me a fat stacktrace. I've disabled that checker for now. I'm guessing it's pretty worthless if I don't use ann?

— Reply to this email directly or view it on GitHub.

expez commented 9 years ago

https://gist.github.com/6a6f7ada6ffb0b26ed52

pnf commented 9 years ago

Might be a core.typed bug. I'll cross-post.


Sent from my VAX-11/780

On Dec 21, 2014, at 09:46, Lars Andersen notifications@github.com wrote:

https://gist.github.com/6a6f7ada6ffb0b26ed52

— Reply to this email directly or view it on GitHub.

pnf commented 9 years ago

I posted this on the core.typed google group. There hasn’t been much traffic there since Ambrose got into grad school, but maybe he’ll go on a bug hunt during Christmas break.

On Dec 21, 2014, at 9:46 AM, Lars Andersen notifications@github.com wrote:

https://gist.github.com/6a6f7ada6ffb0b26ed52 https://gist.github.com/6a6f7ada6ffb0b26ed52 — Reply to this email directly or view it on GitHub https://github.com/clojure-emacs/squiggly-clojure/issues/7#issuecomment-67772494.