KT-15677 KT-15775
Update parser & descriptor renderer to handle parenthesized types and function types properly. Resolve annotations in parenthesized types. AnnotationsImpl.isEmpty() returned false for targeted annotations only (e.g., 'fun @receiver:Ann C?.foo()'). Properly keep track of targeted annotations.
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
fun <K, V> intercept(<warning>block</warning>: (@A K, (K) -> V) -> V) {
|
||||
fun <K, V> intercept(<warning>block</warning>: (<error>@A</error> K, (K) -> V) -> V) {
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user