-
-
Notifications
You must be signed in to change notification settings - Fork 88
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
Can't with-open
#296
Comments
I ended up "writing" my own with-open, but then I soon realized that half the things I wanted to with-open were actually closed with .cancel and not .close. And then some more had to be .dispose'd... |
And creating a closable protocol would require lots of tactical extensions.
|
I propose adding However |
Related #287 |
Describe the bug
with-open
will not compile.Does your problem persist after
clj -M:cljd clean && flutter clean
? YesTo Reproduce
Steps to reproduce the behavior:
with-open
form. It breaks with anywith-open
form but the simplest I could invent was:["dart:io" :as io]
to namespace:require
s(with-open [client (io/HttpClient)] (str client " foo"))
Expected behavior
with-open
should compile, create its bindings, and then.close
the bindingsThe text was updated successfully, but these errors were encountered: