Redundant semicolon: fix false positive between modifier and declaration
#KT-25579 Fixed
This commit is contained in:
committed by
Mikhail Glukhikh
parent
1898df3fb7
commit
2bf3b435f2
+4
@@ -0,0 +1,4 @@
|
||||
fun test(import: Int) {
|
||||
import<caret>;
|
||||
val a = 1
|
||||
}
|
||||
Vendored
+4
@@ -0,0 +1,4 @@
|
||||
fun test(import: Int) {
|
||||
import
|
||||
val a = 1
|
||||
}
|
||||
Vendored
+5
@@ -0,0 +1,5 @@
|
||||
// PROBLEM: none
|
||||
fun test(data: Int) {
|
||||
data<caret>;
|
||||
val a = 1
|
||||
}
|
||||
Vendored
+6
@@ -0,0 +1,6 @@
|
||||
// PROBLEM: none
|
||||
fun test(inline: Int) {
|
||||
inline<caret>;
|
||||
fun a() {
|
||||
}
|
||||
}
|
||||
Vendored
+6
@@ -0,0 +1,6 @@
|
||||
// PROBLEM: none
|
||||
fun test(public: Int) {
|
||||
public // comment1
|
||||
<caret>; // comment2
|
||||
class A
|
||||
}
|
||||
Reference in New Issue
Block a user