calva

Yuner Bekir 2025-12-04T08:30:48.922229Z

Hello! I recently noticed that the "interrupt current evaluation" has been removed. Is there an alternative?

Yuner Bekir 2025-12-04T11:28:25.752999Z

@phill This is different. I don't see the option at all. Had it 2 weeks ago. Can't see it neither on leiningen nor deps

Maravedis 2025-12-04T13:48:48.119309Z

The option only appears if you have a running evaluation, from what I've seen using it. But I've used it this morning, so I'm pretty sure it's still there.

Yuner Bekir 2025-12-04T13:54:59.339199Z

that's new. Thanks I can now see it, but I cannot interrupt the current evaluation

pez 2025-12-04T15:16:56.100219Z

That’s not new. 😃 But we could consider changing this so that it is always visible.

seancorfield 2025-12-04T15:19:02.660619Z

> but I cannot interrupt the current evaluation Are you on JDK 21 or later? Do you have the "attach self" property set when you start a REPL? How are you starting a REPL? Without that, you cannot interrupt evaluation.

Yuner Bekir 2025-12-05T08:53:57.962079Z

If it is not new, I have no idea how I found it in the first place 😄 I am on Java 17, did the java version upgrade come recently?

pez 2025-12-05T10:34:04.886579Z

> If it is not new, I have no idea how I found it in the first place 😄 Haha. Exactly why I am questioning the design to only show the command when an evaluation is active.

pez 2025-12-05T10:54:38.731289Z

As for why you can’t interrupt. I don’t have a clue, really, but it could be that not all evaluations can be interrupted. I’d check in #nrepl and provide some details around the thing you are trying to interrupt.

seancorfield 2025-12-05T16:21:15.215139Z

> I am on Java 17, did the java version upgrade come recently? JDK 25 is the current version (as of September 2025). JDK 17 was released in 2021, JDK 21 in 2023.

Shantanu Kumar 2025-12-04T13:22:48.475219Z

For some reason, clojure.core/the-ns gets flagged as an unresolved symbol unless I put it under #?(:clj ...) - since I am using it in a defmacro I know it's only going to be executed at compile time in the JVM.

pez 2025-12-04T15:15:07.536579Z

clj-kondo may not be able to assume JVM, because in some cljs environments (like Joyride) macros are resolved by cljs.

Shantanu Kumar 2025-12-04T15:18:16.768389Z

Makes sense, thank you!