335c5a03b6
Previously there were no equals/hashCode implementation. Because of that subtyping not working properly. That is because in subtyping we have checks that type constructors are equals Also toString was added so now it is a bit easier to debug code involving the KtSymbolBasedAbstractTypeConstructor
7 lines
124 B
Plaintext
Vendored
7 lines
124 B
Plaintext
Vendored
fun test() {
|
|
class Test()
|
|
operator fun Test.contains(a: Int) : Boolean = true
|
|
val test = Test()
|
|
1 in test
|
|
}
|