More accurate deparenthesize (keeping annotations) in some IDE actions

So #KT-19004 Fixed
This commit is contained in:
Mikhail Glukhikh
2017-07-20 14:51:44 +03:00
parent 7fb78a0372
commit e6872c52a3
15 changed files with 132 additions and 9 deletions
@@ -0,0 +1,10 @@
var b = true
@Target(AnnotationTarget.EXPRESSION)
annotation class Ann
fun foo() {
if (@Ann <caret>b == true) {
}
}