Fix NoErrorsInStdlibTest

stdlib was analyzed with an older version of itself in the classpath. But
without that older version stdlib still depends on a built-in part
(builtins, runtime.jvm, reflection), so we compile those as a separate library
beforehand
This commit is contained in:
Alexander Udalov
2014-08-26 14:59:44 +04:00
parent 50903050ff
commit 7dd0613f96
2 changed files with 18 additions and 14 deletions
@@ -58,7 +58,7 @@ public class ForTestCompileRuntime {
}
}
private static void compileBuiltIns(@NotNull File destDir) throws IOException {
public static void compileBuiltIns(@NotNull File destDir) throws IOException {
compileKotlinToJvm("built-ins", destDir,
BUILT_INS_SRC_PATH + File.pathSeparator + RUNTIME_JVM_SRC_PATH + File.pathSeparator + REFLECTION_SRC_PATH,
BUILT_INS_SRC_PATH, RUNTIME_JVM_SRC_PATH, REFLECTION_SRC_PATH);