8000 Fully qualified instance method + type hint doesn't work yet · Issue #963 · babashka/sci · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Fully qualified instance method + type hint doesn't work yet #963

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

Open
borkdude opened this issue Apr 28, 2025 · 0 comments
Open

Fully qualified instance method + type hint doesn't work yet #963

borkdude opened this issue Apr 28, 2025 · 0 comments

Comments

@borkdude
Copy link
Collaborator

Repro:

(def ^java.util.concurrent.ExecutorService thread-pool (java.util.concurrent.Executors/newCachedThreadPool))
@(java.util.concurrent.ExecutorService/.submit thread-pool ^Runnable (fn [] 3))

With Runnable this should return nil, with Callable it should return 3.

Also check instance method values + later invocation.

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

1 participant
0