Ivan Kylchik
97ba3fe396
[K2] Revert changes done in KT-61786
...
Changes in this ticket remove type enhancement in java fields
for K2. But after KT-61920 fix, we can actually support it.
2023-12-12 13:54:31 +00:00
Ivan Kochurkin
498f2e534a
[FIR] Don't enhance Int and String Java final static fields
...
It's effectively a breaking change (^KT-62558)
K2 assigns flexible type to all static fields (from Java) and, for example,
`String? becomes String unlike K1. It affects IR signature generating.
That's why signature dump is disabled for some tests.
^KT-57811 Fixed
^KT-61786 Fixed
2023-10-16 17:16:56 +00:00
Mikhail Glukhikh
978d52d05b
K2: render additionally *s for static references
...
This commit allows to distinguish static VS non-static things
inside FIR_DUMP, e.g. static synthetic Enum.entries with
enum entry Enum.entries
2023-06-21 13:08:00 +00:00
Mikhail Glukhikh
8aed6d3c4c
K2: add dispatchReceiverForStatics to ScopeTowerLevel to avoid receiver hacks
...
Related to KT-55116
2023-01-26 15:27:58 +00:00
Mikhail Glukhikh
d436d56871
FE: add some more tests around static field fake overrides
2023-01-26 15:27:58 +00:00