Skip to content

Commit

Permalink
pin plugin verifier version
Browse files Browse the repository at this point in the history
  • Loading branch information
mkurnikov committed Aug 2, 2024
1 parent 317f861 commit 11ff2c1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ version = pluginVersion
plugins {
id("java")
kotlin("jvm") version "1.9.22"
id("org.jetbrains.intellij.platform") version "2.0.0-rc1"
id("org.jetbrains.intellij.platform") version "2.0.0"
id("org.jetbrains.grammarkit") version "2022.3.2.2"
id("net.saliman.properties") version "1.5.2"
id("org.gradle.idea")
Expand Down Expand Up @@ -106,7 +106,7 @@ allprojects {
intellijPlatform {
create(prop("platformType"), prop("platformVersion"), useInstaller = useInstaller)
testFramework(TestFrameworkType.Platform)
pluginVerifier()
pluginVerifier("1.371")
bundledPlugin("org.toml.lang")
jetbrainsRuntimeExplicit("jbr_jcef-17.0.11-linux-x64-b1207.30")
}
Expand Down Expand Up @@ -160,7 +160,7 @@ allprojects {
channels.set(listOf(publishingChannel))
}

verifyPlugin {
pluginVerification {
ides {
recommended()
}
Expand Down
2 changes: 1 addition & 1 deletion src/main/kotlin/org/move/ide/annotator/MvErrorAnnotator.kt
Original file line number Diff line number Diff line change
Expand Up @@ -302,7 +302,7 @@ class MvErrorAnnotator: MvAnnotatorBase() {

val itemLabel = qualName.editorText()
val realCount = typeArgumentList.typeArgumentList.size
assert(realCount != 0) { "Should be non-zero if typeArgumentList exists" }
check(realCount != 0) { "Should be non-zero if typeArgumentList exists" }

// if any type param is passed, inference is disabled, so check fully
when {
Expand Down

0 comments on commit 11ff2c1

Please sign in to comment.