[K/JS] fix(KT-53569): skip double traversing for nested annotation classes.

This commit is contained in:
Artem Kobzar
2022-08-18 16:39:48 +00:00
committed by Space
parent 7441388f9d
commit 8e17c39cc9
6 changed files with 56 additions and 16 deletions
@@ -0,0 +1,11 @@
// IGNORE_BACKEND: JS
// EXPECTED_REACHABLE_NODES: 1280
package foo
annotation class Parent {
annotation class Child
}
fun box(): String {
return if (Parent.Child() == Parent.Child()) "OK" else "FAIL"
}