Workarounds to build parts of stdlib as kotlin-runtime and mock runtime

Fix source paths of kotlin-stdlib-minimal-for-tests
This commit is contained in:
Ilya Gorbunov
2018-01-25 22:47:38 +03:00
parent 7c74083f09
commit 23d0e5f2e1
8 changed files with 26 additions and 11 deletions
@@ -14,6 +14,8 @@
* limitations under the License.
*/
@file:Suppress("ACTUAL_WITHOUT_EXPECT") // for building kotlin-runtime
package kotlin
@@ -14,6 +14,8 @@
* limitations under the License.
*/
@file:Suppress("ACTUAL_WITHOUT_EXPECT") // for building kotlin-runtime
package kotlin
public actual class UninitializedPropertyAccessException : RuntimeException {
@@ -22,6 +22,7 @@ import kotlin.annotation.AnnotationTarget.*
* Marks the JVM backing field of the annotated property as `volatile`, meaning that writes to this field
* are immediately made visible to other threads.
*/
@Suppress("ACTUAL_WITHOUT_EXPECT") // for building kotlin-runtime
@Target(FIELD)
@Retention(AnnotationRetention.SOURCE)
@MustBeDocumented
@@ -14,6 +14,8 @@
* limitations under the License.
*/
@file:Suppress("ACTUAL_WITHOUT_EXPECT") // for building kotlin-runtime
package kotlin.jvm
import kotlin.reflect.KClass
@@ -14,6 +14,8 @@
* limitations under the License.
*/
@file:Suppress("ACTUAL_WITHOUT_EXPECT") // for building kotlin-runtime
package kotlin.text
@SinceKotlin("1.1") public actual typealias Appendable = java.lang.Appendable