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
10 lines
131 B
Kotlin
Vendored
10 lines
131 B
Kotlin
Vendored
class C {
|
|
companion object {
|
|
operator fun contains(s: String) = true
|
|
}
|
|
}
|
|
|
|
fun foo() {
|
|
C.<caret>contains("x")
|
|
}
|