Use newly built compiler for kotlin2js instead of bootstrap

Otherwise it's impossible to make any change in built-ins: the bootstrap
compiler is not able to compile the new stdlib because stdlib is designed to
compile against the built-ins of the same version, but bootstrap compiler is
only aware of old built-ins which it has in its classpath
This commit is contained in:
Alexander Udalov
2014-11-14 19:23:55 +03:00
parent 128c938965
commit 74d00979d4
+2
View File
@@ -218,6 +218,8 @@
</target>
<target name="jslib">
<typedef resource="org/jetbrains/jet/buildtools/ant/antlib.xml" classpath="${kotlin-home}/lib/kotlin-ant.jar"/>
<property name="compiled.builtins.js" value="builtins.js" />
<property name="compiled.stdlib.js" value="stdlib.js" />
<property name="stdlib.js.dir" value="${basedir}/js/js.translator/testData" />