JPS: Test for "Cyclically dependent modules should have same compiler"

KT-27285
This commit is contained in:
Sergey Rostov
2018-11-26 09:12:14 +03:00
parent 3c8b15ca54
commit c06b000e8d
5 changed files with 30 additions and 0 deletions
@@ -0,0 +1,5 @@
pJvm [jvm]
pJs [js]
pJs -> pJvm [compile]
pJvm -> pJs [compile]
@@ -0,0 +1,5 @@
Building pJs, pJvm
Exit code: ABORT
------------------------------------------
COMPILATION FAILED
Cyclically dependent modules pJvm (jvm), pJs (js) should have same compiler.
@@ -0,0 +1 @@
fun f() = 1
@@ -0,0 +1 @@
fun g() = 2