Don't report inapplicable target for 'inline' keyword on property and its accessors
This commit is contained in:
@@ -2,10 +2,10 @@
|
||||
|
||||
import java.io.*
|
||||
|
||||
<!WRONG_MODIFIER_TARGET!>inline<!> val InputStream.buffered : BufferedInputStream
|
||||
val InputStream.buffered : BufferedInputStream
|
||||
get() = if(this is BufferedInputStream) <!DEBUG_INFO_SMARTCAST!>this<!> else BufferedInputStream(this)
|
||||
|
||||
<!WRONG_MODIFIER_TARGET!>inline<!> val Reader.buffered : BufferedReader
|
||||
val Reader.buffered : BufferedReader
|
||||
get() = if(this is BufferedReader) <!DEBUG_INFO_SMARTCAST!>this<!> else BufferedReader(this)
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user