Add more tests for PropertyAccessorDescriptor.isDeafult() usages

This commit is contained in:
Nikolay Krasko
2016-06-18 21:47:38 +03:00
committed by Nikolay Krasko
parent c936b3f3e0
commit eee45e91ce
21 changed files with 184 additions and 0 deletions
@@ -0,0 +1,10 @@
class Test {
var serial: String = ""
get
set
var name: String = ""
get
<caret>
}
// FORCED
@@ -0,0 +1,20 @@
class Test {
var serial: String = ""
get
set
var name: String = ""
get
override fun equals(other: Any?): Boolean{
if (this === other) return true
if (other?.javaClass != javaClass) return false
return true
}
override fun hashCode(): Int{
return 0
}
}
// FORCED