added info about smart casts to diagnostic tests
This commit is contained in:
@@ -4,10 +4,10 @@
|
||||
import java.io.*
|
||||
|
||||
inline val InputStream.buffered : BufferedInputStream
|
||||
get() = if(this is BufferedInputStream) this else BufferedInputStream(this)
|
||||
get() = if(this is BufferedInputStream) <!DEBUG_INFO_AUTOCAST!>this<!> else BufferedInputStream(this)
|
||||
|
||||
inline val Reader.buffered : BufferedReader
|
||||
get() = if(this is BufferedReader) this else BufferedReader(this)
|
||||
get() = if(this is BufferedReader) <!DEBUG_INFO_AUTOCAST!>this<!> else BufferedReader(this)
|
||||
|
||||
|
||||
//more tests
|
||||
|
||||
Reference in New Issue
Block a user