You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A bunch of methods in Using have OpenFile[T] as their return type, which is private.
How to reproduce
View the sbt.io.Using class in scaladoc and look at e.g. fileInputStream.
Expected behaviour
The type should be more descriptive. It took me a while to figure out that it was a subtype of Using[File, T], so I reckon changing the exposed type could improve UX. I don't know if there's a particular reason.
This would break binary compatibility.
The text was updated successfully, but these errors were encountered:
Description
A bunch of methods in
Using
haveOpenFile[T]
as their return type, which is private.How to reproduce
View the
sbt.io.Using
class in scaladoc and look at e.g.fileInputStream
.Expected behaviour
The type should be more descriptive. It took me a while to figure out that it was a subtype of
Using[File, T]
, so I reckon changing the exposed type could improve UX. I don't know if there's a particular reason.This would break binary compatibility.
The text was updated successfully, but these errors were encountered: