|
Scala Programming Language
»
Scalax - The Scala Community Library
How to parametrize InputStreamResource properly?
View:
Threaded
Chronologically
All Messages
New views
1 Messages —
Rating Filter:
0
1
2
3
4
5
Alert me
How to parametrize InputStreamResource properly?
by Stepan Koltsov
:: Rate this Message:
Reply to Author
|
View Threaded
|
Show Only this Message
Hi, all.
I've got a problem. How to parametrize InputStreamResource properly to
make assignment possible:
val fileResource: InputStreamResource[FileInputStream] = ...
val resource: InputStreamResource[InputStream] = fileResource
?
Just adding + to type parameter makes code not compileable.
S.
Free embeddable forum
powered by
Nabble
Forum Help