Introduce initial version of FIR Java type enhancement

Java type enhancement is performed by a special scope kind
Java FIR dump was added for multiplatform tests to look at enhancements
Overrides, J2K mapping, special cases does not work yet

Related to KT-29937
This commit is contained in:
Mikhail Glukhikh
2019-02-15 10:36:57 +03:00
parent 060bd1b464
commit f31faafd72
56 changed files with 2042 additions and 336 deletions
@@ -0,0 +1,4 @@
<T> public open class A : R|java/lang/Object| {
public open operator function foo(t: R|ft<T, T?>|!): R|ft<T, T?>|!
}
@@ -7,7 +7,7 @@ FILE: simpleFakeOverride.kt
public constructor(): super<R|A<Some>|>()
public final function test(): R|kotlin/Unit| {
R|FakeOverride</A.foo: R|ft<T, T>|!>|(<Unresolved name: Some>#())
R|FakeOverride</A.foo: R|ft<T, T?>|!>|(<Unresolved name: Some>#())
}
}