Nikita Bobko
e44e84d1b0
[FIR] Reuse expect/actual matching data of outer declarations during matching of inner declarations
...
Review: https://jetbrains.team/p/kt/reviews/13244
Motivation:
```
// Module :lib
class Foo {
val member: Int = 2
}
// Module :app
// dependencies { implementation(project(":lib")) }
class Foo {
val member: Int = 2
}
```
Before the commit:
app_Foo.expectForActual is `null`
app_Foo.member.expectForActual = lib_foo.member
After the commit:
app_Foo.expectForActual is `null`
app_Foo.member.expectForActual is `null`
If I don't fix this problem then
`CommonizerHierarchicalIT.testCommonizeHierarchicallyMultiModule`
becomes red after I fix KT-59887 in the following commits
`app_Foo.member.expectForActual = lib_foo.member` happens because we
also need to match fake-overrides (KT-63550)
I didn't measure it, but theoretically, this commit should be a
performance improvement, becuase we reuse `expectForActual` cache
Additionally, The commit breaks some other tests (e.g.
compiler/testData/diagnostics/tests/multiplatform/headerClass/actualMissing.fir.kt).
The tests will become green again, once I fix KT-59887
2023-12-04 13:08:23 +00:00
..
2023-11-28 23:17:23 +00:00
2023-11-24 18:02:47 +00:00
2023-11-10 19:36:09 +00:00
2023-11-27 18:23:42 +00:00
2023-11-27 10:17:54 +00:00
2023-08-31 12:32:25 +00:00
2023-11-10 19:36:09 +00:00
2023-12-04 13:08:23 +00:00
2023-11-20 13:36:27 +00:00
2023-11-24 18:02:46 +00:00
2023-11-24 18:02:49 +00:00
2023-10-11 17:05:29 +00:00
2023-11-27 10:17:54 +00:00
2023-11-27 10:17:54 +00:00
2023-11-24 18:02:47 +00:00
2023-08-10 15:46:46 +00:00
2023-11-24 18:02:49 +00:00
2023-08-10 15:46:46 +00:00
2023-08-10 15:46:46 +00:00
2023-08-10 15:46:46 +00:00
2023-08-10 15:46:46 +00:00
2023-08-10 15:46:45 +00:00
2023-08-10 15:46:45 +00:00
2023-08-10 15:46:46 +00:00
2023-11-24 18:02:47 +00:00
2023-11-24 18:02:47 +00:00
2023-09-08 10:51:43 +00:00
2023-08-18 13:29:20 +00:00
2023-08-18 13:29:20 +00:00
2023-11-27 18:23:42 +00:00
2023-11-10 19:36:09 +00:00
2023-11-10 19:36:09 +00:00
2023-11-10 19:36:09 +00:00
2023-11-10 19:36:09 +00:00
2023-11-10 19:36:09 +00:00
2023-11-28 13:30:26 +00:00
2023-11-10 19:36:09 +00:00
2023-08-10 15:46:46 +00:00
2023-08-10 15:46:46 +00:00
2023-09-06 16:30:28 +00:00
2023-09-06 16:30:28 +00:00
2023-11-07 10:24:35 +00:00
2023-11-07 10:24:35 +00:00
2023-11-27 10:17:54 +00:00
2023-07-13 16:01:26 +00:00
2023-11-10 19:36:09 +00:00
2023-08-15 16:34:23 +00:00
2023-10-16 10:48:08 +00:00
2023-07-24 09:15:11 +00:00
2023-07-24 09:15:11 +00:00
2023-11-07 20:05:59 +00:00
2023-09-11 13:57:28 +00:00
2023-09-11 13:57:28 +00:00
2023-09-08 10:51:43 +00:00
2023-11-10 19:36:09 +00:00
2023-11-06 14:41:22 +00:00
2023-11-10 19:36:09 +00:00
2023-07-24 09:15:11 +00:00
2023-08-30 14:35:59 +00:00
2023-09-08 10:51:43 +00:00
2023-07-24 09:48:48 +00:00
2023-07-24 09:48:48 +00:00
2023-09-08 10:51:43 +00:00
2023-09-08 10:51:43 +00:00
2023-11-27 18:23:42 +00:00
2023-06-10 07:33:29 +00:00
2023-10-20 14:37:10 +00:00
2023-08-28 09:29:05 +00:00
2023-08-28 09:29:05 +00:00
2023-11-24 18:02:47 +00:00
2023-10-20 14:37:10 +00:00
2023-11-24 18:02:47 +00:00
2023-08-10 15:46:45 +00:00
2023-11-27 10:17:54 +00:00
2023-11-10 19:36:09 +00:00
2023-11-06 14:41:22 +00:00
2023-08-10 15:46:48 +00:00
2023-11-10 19:36:09 +00:00
2023-08-10 15:46:47 +00:00
2023-08-31 07:52:02 +00:00
2023-10-20 14:37:10 +00:00
2023-08-31 07:52:02 +00:00
2023-10-20 14:37:10 +00:00
2023-11-10 19:36:09 +00:00
2023-11-10 19:36:09 +00:00
2023-11-27 18:23:42 +00:00
2023-11-27 18:23:42 +00:00
2023-11-27 18:23:42 +00:00
2023-11-27 18:23:42 +00:00
2023-11-27 18:23:42 +00:00
2023-11-27 18:23:42 +00:00
2023-11-27 18:23:42 +00:00
2023-11-27 18:23:42 +00:00
2023-11-27 18:23:42 +00:00
2023-11-27 18:23:42 +00:00
2023-08-10 17:46:08 +00:00
2023-08-10 17:46:08 +00:00
2023-11-10 19:36:09 +00:00
2023-07-10 09:28:54 +00:00
2023-11-06 14:41:22 +00:00
2023-11-06 14:41:16 +00:00
2023-11-10 19:36:09 +00:00
2023-10-06 12:29:01 +00:00
2023-06-22 07:05:31 +00:00
2023-11-27 18:23:43 +00:00
2023-11-27 18:23:43 +00:00
2023-11-06 14:41:22 +00:00
2023-11-10 19:36:09 +00:00
2023-11-07 15:53:54 +00:00
2023-11-07 15:53:54 +00:00
2023-11-07 15:53:54 +00:00
2023-11-10 19:36:09 +00:00
2023-11-07 15:53:54 +00:00
2023-11-07 15:53:54 +00:00
2023-11-07 15:53:54 +00:00
2023-11-07 15:53:54 +00:00
2023-11-07 15:53:54 +00:00
2023-11-01 19:14:20 +00:00
2023-11-01 19:14:20 +00:00