[FIR] Analyze annotations of local class before class itself

This commit is contained in:
Dmitriy Novozhilov
2020-03-30 11:50:03 +03:00
parent 1177a56815
commit b90c8eb8ed
7 changed files with 158 additions and 2 deletions
@@ -0,0 +1,16 @@
// !DUMP_CFG
annotation class Ann
fun foo(b: Boolean) {
if (b) {
return
}
@Ann
class Local()
bar()
}
fun bar() {}