Highlighting of redundant semicolons
#KT-5010 Fixed
This commit is contained in:
@@ -0,0 +1 @@
|
||||
org.jetbrains.kotlin.idea.inspections.RedundantSemicolonInspection
|
||||
@@ -0,0 +1,5 @@
|
||||
// "Remove redundant semicolon" "true"
|
||||
import kotlin.*;<caret>
|
||||
|
||||
fun foo() {
|
||||
}
|
||||
@@ -0,0 +1,5 @@
|
||||
// "Remove redundant semicolon" "true"
|
||||
import kotlin.*<caret>
|
||||
|
||||
fun foo() {
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
// "Remove redundant semicolon" "true"
|
||||
fun foo() {
|
||||
a();<caret>
|
||||
b()
|
||||
}
|
||||
|
||||
fun a(){}
|
||||
fun b(){}
|
||||
@@ -0,0 +1,8 @@
|
||||
// "Remove redundant semicolon" "true"
|
||||
fun foo() {
|
||||
a()<caret>
|
||||
b()
|
||||
}
|
||||
|
||||
fun a(){}
|
||||
fun b(){}
|
||||
Reference in New Issue
Block a user