Temporary hack to migrate functions to package kotlin.jvm.functions

Add a file in package 'kotlin.jvm.functions' to the project and replace
explicit imports of functions 'kotlin.Function{n}' to two imports 'kotlin.*'
and 'kotlin.jvm.functions.*', so that the codebase can be compiled both by the
old and by the new compiler
This commit is contained in:
Alexander Udalov
2015-04-23 22:00:04 +03:00
parent 7baa7a72e2
commit 738a84e259
123 changed files with 299 additions and 140 deletions
@@ -4,7 +4,8 @@ import static kotlin.KotlinPackage.*;
import static kotlin.util.UtilPackage.*;
import junit.framework.TestCase;
import kotlin.Function1;
import kotlin.jvm.functions.*;
import kotlin.*;
import java.util.Collection;
import java.util.List;