We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 27158e4 commit eb7b3feCopy full SHA for eb7b3fe
src/main/java/com/tang/intellij/lua/codeInsight/intention/RemoveCallParenIntention.kt
@@ -33,7 +33,7 @@ class RemoveCallParenIntention : BaseIntentionAction() {
33
if (callExpr != null) {
34
val args = callExpr.args as? LuaListArgs ?: return false
35
val list = args.exprList
36
- if (list.isEmpty())
+ if (list.isEmpty() || list.size > 1)
37
return false
38
val expr = list.first()
39
when (expr) {
0 commit comments