Introduce an API to convert TypeConstructorMarker to TypeParameterMarker

This commit is contained in:
Jinseong Jeon
2021-10-19 11:04:54 -07:00
committed by teamcity
parent a367b91aa1
commit 2dc2a90755
5 changed files with 22 additions and 3 deletions
@@ -53,6 +53,7 @@ interface TypeSystemCommonBackendContext : TypeSystemContext {
interface TypeSystemCommonBackendContextForTypeMapping : TypeSystemCommonBackendContext {
fun TypeConstructorMarker.isTypeParameter(): Boolean
fun TypeConstructorMarker.asTypeParameter(): TypeParameterMarker
fun TypeConstructorMarker.defaultType(): KotlinTypeMarker
fun TypeConstructorMarker.isScript(): Boolean