Minor: regenerate tests, update testData
This commit is contained in:
committed by
TeamCityServer
parent
27a144f86f
commit
f55f880726
+7
-7
@@ -18,7 +18,7 @@ fun interface KConsumer<T : Any?> {
|
||||
typealias KCS = KConsumer<String>
|
||||
fun test1(): KFunction1<@ParameterName(name = "function") Function0<Unit>, KRunnable> {
|
||||
return { // BLOCK
|
||||
local fun KRunnable(fn: Function0<Unit>): KRunnable fn /*-> KRunnable */
|
||||
local fun KRunnable(function: Function0<Unit>): KRunnable function /*-> KRunnable */
|
||||
|
||||
::KRunnable
|
||||
}
|
||||
@@ -26,7 +26,7 @@ fun test1(): KFunction1<@ParameterName(name = "function") Function0<Unit>, KRunn
|
||||
|
||||
fun test1a(): KFunction1<@ParameterName(name = "function") Function0<Unit>, KRunnable> {
|
||||
return { // BLOCK
|
||||
local fun KRunnable(fn: Function0<Unit>): KRunnable fn /*-> KRunnable */
|
||||
local fun KRunnable(function: Function0<Unit>): KRunnable function /*-> KRunnable */
|
||||
|
||||
::KRunnable
|
||||
}
|
||||
@@ -34,7 +34,7 @@ fun test1a(): KFunction1<@ParameterName(name = "function") Function0<Unit>, KRun
|
||||
|
||||
fun test1b(): KFunction<Runnable> {
|
||||
return { // BLOCK
|
||||
local fun Runnable(fn: Function0<Unit>): Runnable fn /*-> Runnable */
|
||||
local fun Runnable(function: Function0<Unit>): Runnable function /*-> Runnable */
|
||||
|
||||
::Runnable
|
||||
}
|
||||
@@ -42,7 +42,7 @@ fun test1b(): KFunction<Runnable> {
|
||||
|
||||
fun test2(): Function1<Function0<String>, KSupplier<String>> {
|
||||
return { // BLOCK
|
||||
local fun KSupplier(fn: Function0<String>): KSupplier<String> fn /*-> KSupplier<String> */
|
||||
local fun KSupplier(function: Function0<String>): KSupplier<String> function /*-> KSupplier<String> */
|
||||
|
||||
::KSupplier
|
||||
}
|
||||
@@ -50,7 +50,7 @@ fun test2(): Function1<Function0<String>, KSupplier<String>> {
|
||||
|
||||
fun test2a(): Function1<Function0<String>, KSupplier<String>> {
|
||||
return { // BLOCK
|
||||
local fun KSupplier(fn: Function0<String>): KSupplier<String> fn /*-> KSupplier<String> */
|
||||
local fun KSupplier(function: Function0<String>): KSupplier<String> function /*-> KSupplier<String> */
|
||||
|
||||
::KSupplier
|
||||
}
|
||||
@@ -58,7 +58,7 @@ fun test2a(): Function1<Function0<String>, KSupplier<String>> {
|
||||
|
||||
fun test3(): Function1<Function1<String, Unit>, KConsumer<String>> {
|
||||
return { // BLOCK
|
||||
local fun KConsumer(fn: Function1<@ParameterName(name = "x") String, Unit>): KConsumer<String> fn /*-> KConsumer<String> */
|
||||
local fun KConsumer(function: Function1<@ParameterName(name = "x") String, Unit>): KConsumer<String> function /*-> KConsumer<String> */
|
||||
|
||||
::KConsumer
|
||||
}
|
||||
@@ -66,7 +66,7 @@ fun test3(): Function1<Function1<String, Unit>, KConsumer<String>> {
|
||||
|
||||
fun test3a(): Function1<Function1<String, Unit>, KConsumer<String>> {
|
||||
return { // BLOCK
|
||||
local fun KConsumer(fn: Function1<@ParameterName(name = "x") String, Unit>): KConsumer<String> fn /*-> KConsumer<String> */
|
||||
local fun KConsumer(function: Function1<@ParameterName(name = "x") String, Unit>): KConsumer<String> function /*-> KConsumer<String> */
|
||||
|
||||
::KConsumer
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user