刚才idea的kotlin插件自动更新了,重启idea之后再打开这个项目就多了两个错误,分别是
Object 'MyPluginMain' is not abstract and does not implement abstract base class member public abstract fun getParentPermission(): Permission defined in net.mamoe.mirai.console.plugin.jvm.KotlinPlugin
和
Inherited platform declarations clash: The following declarations have the same JVM signature (getParentPermission()Lnet/mamoe/mirai/console/permission/Permission;): fun (): Permission defined in org.example.my.plugin.MyPluginMain fun getParentPermission(): Permission defined in org.example.my.plugin.MyPluginMain
刚才idea的kotlin插件自动更新了,重启idea之后再打开这个项目就多了两个错误,分别是 Object 'MyPluginMain' is not abstract and does not implement abstract base class member public abstract fun getParentPermission(): Permission defined in net.mamoe.mirai.console.plugin.jvm.KotlinPlugin 和 Inherited platform declarations clash: The following declarations have the same JVM signature (getParentPermission()Lnet/mamoe/mirai/console/permission/Permission;): fun(): Permission defined in org.example.my.plugin.MyPluginMain fun getParentPermission(): Permission defined in org.example.my.plugin.MyPluginMain