Inspection (and quickfix) for extension propeties conflicting with synthetic ones

This commit is contained in:
Valentin Kipyatkov
2015-08-31 19:08:01 +03:00
parent d41e01c0e4
commit 10f7d6d7dd
45 changed files with 620 additions and 16 deletions
@@ -0,0 +1,16 @@
import java.io.File
import java.io.Serializable
val File.name: String
get() = getName()
val Serializable.name: String
get() = ""
val File.parent: File
get() = getParentFile()
class MyFile : File("")
val MyFile.isFile: Boolean
get() = isFile()