FIR: Make constraint injector treat stub types as type variables

This commit is contained in:
Simon Ogorodnik
2021-11-14 16:06:45 +03:00
committed by teamcity
parent 19e2409284
commit 7b8ece8758
5 changed files with 15 additions and 2 deletions
@@ -358,6 +358,7 @@ interface TypeSystemContext : TypeSystemOptimizationContext {
fun SimpleTypeMarker.isStubType(): Boolean
fun SimpleTypeMarker.isStubTypeForVariableInSubtyping(): Boolean
fun SimpleTypeMarker.isStubTypeForBuilderInference(): Boolean
fun TypeConstructorMarker.unwrapStubTypeVariableConstructor(): TypeConstructorMarker
fun KotlinTypeMarker.asTypeArgument(): TypeArgumentMarker