mirror of
https://github.com/mamoe/mirai.git
synced 2025-02-27 12:40:10 +08:00
Fix ambiguous eq
This commit is contained in:
parent
1bcac33151
commit
37cea58a19
@ -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] 比较
|
||||
|
Loading…
Reference in New Issue
Block a user