[FIR] Add expect actual checker

This commit is contained in:
Dmitriy Novozhilov
2021-05-24 16:44:23 +03:00
committed by teamcityserver
parent faadb08174
commit c3060e861f
45 changed files with 1687 additions and 80 deletions
@@ -568,4 +568,10 @@ abstract class AbstractTypeApproximator(
// Nothing or Nothing!
private fun KotlinTypeMarker.isTrivialSub() = lowerBoundIfFlexible().isNothing()
override fun CapturedTypeMarker.typeParameter(): TypeParameterMarker? {
with(ctx) {
return typeParameter()
}
}
}