Highlighting of redundant semicolons

#KT-5010 Fixed
This commit is contained in:
Valentin Kipyatkov
2016-04-25 20:14:10 +03:00
parent 77033f52ee
commit 306edef23c
13 changed files with 233 additions and 0 deletions
+1
View File
@@ -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(){}