Fixed annotation resolve for loop parameter or catched exceptions type
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
annotation class My
|
||||
|
||||
fun foo(arg: Int): Int {
|
||||
try {
|
||||
return 1 / (arg - arg)
|
||||
} catch (e: @My Exception) {
|
||||
return -1
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user