Implement metadata handling for IR scripts

This commit is contained in:
Ilya Chernikov
2020-12-07 20:02:52 +01:00
parent 4c6b5ff0b8
commit 32d0c99289
8 changed files with 21 additions and 2 deletions
@@ -54,6 +54,7 @@ interface TypeSystemCommonBackendContext : TypeSystemContext {
interface TypeSystemCommonBackendContextForTypeMapping : TypeSystemCommonBackendContext {
fun TypeConstructorMarker.isTypeParameter(): Boolean
fun TypeConstructorMarker.defaultType(): KotlinTypeMarker
fun TypeConstructorMarker.isScript(): Boolean
fun SimpleTypeMarker.isSuspendFunction(): Boolean
fun SimpleTypeMarker.isKClass(): Boolean