Don't report inapplicable target for 'inline' keyword on property and its accessors

This commit is contained in:
Mikhael Bogdanov
2016-06-20 16:17:58 +03:00
parent db5d9940df
commit 2cc177255f
4 changed files with 5 additions and 9 deletions
@@ -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)