Unwrap annotated expression in deparenthesize
It's needed to complete resolved call with annotated function literal
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
// !DIAGNOSTICS: -UNUSED_PARAMETER
|
||||
annotation class Ann
|
||||
|
||||
fun <T> bar(block: (T) -> Int) {}
|
||||
|
||||
fun foo() {
|
||||
bar<Int> @Ann [Ann] { x -> x }
|
||||
bar<Int> @Ann [Ann] label@{ x -> x }
|
||||
}
|
||||
Reference in New Issue
Block a user