mirror of
https://github.com/mamoe/mirai.git
synced 2025-01-10 18:40:15 +08:00
Change RESTRICTED_CONSOLE_COMMAND_OWNER to warning
This commit is contained in:
parent
4803a21488
commit
55c2bdefd2
@ -15,6 +15,7 @@ import org.jetbrains.kotlin.diagnostics.DiagnosticFactory1.create
|
||||
import org.jetbrains.kotlin.diagnostics.DiagnosticFactory2.create
|
||||
import org.jetbrains.kotlin.diagnostics.Errors
|
||||
import org.jetbrains.kotlin.diagnostics.Severity.ERROR
|
||||
import org.jetbrains.kotlin.diagnostics.Severity.WARNING
|
||||
import org.jetbrains.kotlin.psi.*
|
||||
|
||||
/**
|
||||
@ -57,7 +58,7 @@ object MiraiConsoleErrors {
|
||||
// val INAPPLICABLE_COMMAND_ANNOTATION = create<PsiElement, String>(ERROR)
|
||||
|
||||
@JvmField
|
||||
val RESTRICTED_CONSOLE_COMMAND_OWNER = create<KtElement>(ERROR)
|
||||
val RESTRICTED_CONSOLE_COMMAND_OWNER = create<KtElement>(WARNING)
|
||||
|
||||
@JvmField
|
||||
val ILLEGAL_COMMAND_DECLARATION_RECEIVER = create<KtTypeReference>(ERROR)
|
||||
|
Loading…
Reference in New Issue
Block a user