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
@@ -210,6 +210,8 @@ class ConeTypeSystemCommonBackendContextForTypeMapping(
}
}
override fun TypeConstructorMarker.isScript(): Boolean = false
override fun SimpleTypeMarker.isSuspendFunction(): Boolean {
require(this is ConeSimpleKotlinType)
return isSuspendFunctionType(session)