Commit 37cea58a authored by Him188's avatar Him188

Fix ambiguous `eq`

parent 1bcac331
......@@ -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] 比较
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment