From 82447c4623dc6dcbc08e1193fcd8fd9b4ec96d80 Mon Sep 17 00:00:00 2001 From: Sergey Mashkov Date: Mon, 2 Sep 2019 17:03:40 +0300 Subject: [PATCH] Remove require kotlin annotations --- .../src/io/ktor/request/ApplicationReceiveFunctions.kt | 8 -------- 1 file changed, 8 deletions(-) diff --git a/ktor-server/ktor-server-core/jvm/src/io/ktor/request/ApplicationReceiveFunctions.kt b/ktor-server/ktor-server-core/jvm/src/io/ktor/request/ApplicationReceiveFunctions.kt index befdb95f9..e567e9860 100644 --- a/ktor-server/ktor-server-core/jvm/src/io/ktor/request/ApplicationReceiveFunctions.kt +++ b/ktor-server/ktor-server-core/jvm/src/io/ktor/request/ApplicationReceiveFunctions.kt @@ -69,10 +69,6 @@ open class ApplicationReceivePipeline : Pipeline ApplicationCall.receiveOrNull(): T? = receiveOrNull(typeOf()) @@ -81,10 +77,6 @@ suspend inline fun ApplicationCall.receiveOrNull(): T? = recei * @return instance of [T] received from this call. * @throws ContentTransformationException when content cannot be transformed to the requested type. */ -@Suppress("INVISIBLE_REFERENCE", "INVISIBLE_MEMBER") -@kotlin.internal.RequireKotlin("1.3.40", - versionKind = kotlin.internal.RequireKotlinVersionKind.COMPILER_VERSION, - message = "This function requires Kotlin 1.3.40+") @UseExperimental(ExperimentalStdlibApi::class) suspend inline fun ApplicationCall.receive(): T = receive(typeOf())