[Wasm] Add property reference stdlib part

This commit is contained in:
Svyatoslav Kuzmich
2021-09-27 17:08:55 +03:00
parent 5c05ff48ff
commit dd45714137
3 changed files with 503 additions and 0 deletions
+18
View File
@@ -0,0 +1,18 @@
/*
* Copyright 2010-2021 JetBrains s.r.o. and Kotlin Programming Language contributors.
* Use of this source code is governed by the Apache 2.0 license that can be found in the license/LICENSE.txt file.
*/
package kotlin.wasm.internal
import kotlin.reflect.KClassifier
import kotlin.reflect.KType
import kotlin.reflect.KTypeProjection
internal fun kTypeStub(): KType = object : KType {
override val classifier: KClassifier?
get() = null
override val arguments: List<KTypeProjection>
get() = emptyList()
override val isMarkedNullable: Boolean
get() = false
}