Fix ambiguous eq

This commit is contained in:
Him188 2020-02-20 13:18:59 +08:00
parent 1bcac33151
commit 37cea58a19

View File

@ -57,7 +57,7 @@ interface Message {
*/
interface Key<M : Message>
infix fun eq(other: Message): Boolean = this == other
infix fun eq(other: Message): Boolean = this.toString() == other.toString()
/**
* [toString] [other] 比较