File tree Expand file tree Collapse file tree 4 files changed +6
-5
lines changed
kotlin/org/domaframework/doma/intellij/inspection/dao/processor/paramtype
test/kotlin/org/domaframework/doma/intellij/document Expand file tree Collapse file tree 4 files changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ pluginName = Doma Tools for IntelliJ
33pluginRepositoryUrl = https://github.com/domaframework/doma-tools-for-intellij
44pluginVersion = 2.1.2-beta
55
6- pluginSinceBuild =231
6+ pluginSinceBuild =233
77
88platformType = IC
99platformVersion = 2024.3.1
Original file line number Diff line number Diff line change 1515 */
1616package org.domaframework.doma.intellij.inspection.dao.processor.paramtype
1717
18- import androidx.compose.compiler.plugins.kotlin.lower.fastForEachIndexed
1918import com.intellij.codeInspection.ProblemsHolder
2019import com.intellij.psi.PsiClassType
2120import com.intellij.psi.PsiType
@@ -64,7 +63,7 @@ class SqlProcessorParamTypeCheckProcessor(
6463
6564 val biFunctionClassType = (biFunctionParam.type as ? PsiClassType )
6665 val identifier = biFunctionParam.nameIdentifier ? : return
67- biFunctionClassType?.parameters?.fastForEachIndexed { index, param ->
66+ biFunctionClassType?.parameters?.forEachIndexed { index, param ->
6867 if (param == null || ! checkBiFunctionParam(index, param)) {
6968 ValidationMethodBiFunctionParamResult (
7069 identifier,
Original file line number Diff line number Diff line change 1010 <depends >org.intellij.intelliLang</depends >
1111 <depends >org.toml.lang</depends >
1212 <depends optional =" true" config-file =" kotlin.xml" >org.jetbrains.kotlin</depends >
13- <idea-version since-build =" 231 " />
13+ <idea-version since-build =" 233 " />
1414
1515 <resource-bundle >messages.DomaToolsBundle</resource-bundle >
1616 <resource-bundle >messages.LLMInstallerBundle</resource-bundle >
2222 </projectListeners >
2323
2424 <extensions defaultExtensionNs =" com.intellij" >
25+ <errorHandler implementation =" com.intellij.diagnostic.JetBrainsMarketplaceErrorReportSubmitter" />
2526 <postStartupActivity implementation =" org.domaframework.doma.intellij.setting.DomaToolStartupActivity" />
2627
2728 <applicationService
Original file line number Diff line number Diff line change @@ -205,6 +205,7 @@ class SqlSymbolDocumentTestCase : DomaSqlTest() {
205205 return forDirective.elExprList.firstOrNull { it.text == searchElementName }
206206 }
207207
208- return fieldAccessExpr.accessElements.firstOrNull { it?.text == searchElementName }
208+ val accesses = fieldAccessExpr.accessElements
209+ return accesses.firstOrNull { it?.text == searchElementName }
209210 }
210211}
You can’t perform that action at this time.
0 commit comments