Fork me on GitHub
Jakub Holý (HolyJak)09:05:17

@seancorfield When I use (with-open [conn (get-connection ds)] ...) I get the reflection warning > reference to field close can't be resolved Perhaps get-connection should be type-hinted with ^java.sql.Connection as the return value?


@holyjak Hmm, I'll have to check whether that's covered by the tests. I thought it was.


Darn! No, the tests didn't have

(set! *warn-on-reflection* true)
They do now, and it highlights the reflection warning. Will be fixed in RC 1 (next week, unless more things are found that would suggest Beta 2).

👍 4