Add inspection and quick-fix to remove empty parentheses in annotation entries
This commit is contained in:
committed by
Mikhail Glukhikh
parent
e903b2f92a
commit
793cac02e8
Vendored
+9
@@ -0,0 +1,9 @@
|
||||
// PROBLEM: none
|
||||
// ERROR: No value passed for parameter 'x'
|
||||
annotation class MyAnnotation(val x: Int)
|
||||
|
||||
// there is an error but the inspection is not triggered because parentheses are needed in the end
|
||||
@MyAnnotation(<caret>)
|
||||
fun test() {
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user