[Gradle, JS] IR by default and report warnings for using legacy compiler
- just legacy - report warning about deprecation - both - report warning about deprecation of legacy - no compiler explicitly chosen - error about explicit setting compiler warn from cli legacy compiler nowarn flag - kotlin.js.compiler.nowarn KT-42326 KT-53074
This commit is contained in:
@@ -312,24 +312,6 @@ open class KotlinJpsBuildTest : KotlinJpsBuildTestBase() {
|
||||
buildAllModules().assertSuccessful()
|
||||
}
|
||||
|
||||
fun testKotlinJavaScriptProjectWithTestsAndTestAndSrcModuleDependency() {
|
||||
initProject(JS_STDLIB)
|
||||
val buildResult = buildAllModules()
|
||||
buildResult.assertSuccessful()
|
||||
|
||||
val warnings = buildResult.getMessages(BuildMessage.Kind.WARNING)
|
||||
assertEquals("Warning about duplicate module definition: $warnings", 0, warnings.size)
|
||||
}
|
||||
|
||||
fun testKotlinJavaScriptProjectWithTwoSrcModuleDependency() {
|
||||
initProject(JS_STDLIB)
|
||||
val buildResult = buildAllModules()
|
||||
buildResult.assertSuccessful()
|
||||
|
||||
val warnings = buildResult.getMessages(BuildMessage.Kind.WARNING)
|
||||
assertEquals("Warning about duplicate module definition: $warnings", 0, warnings.size)
|
||||
}
|
||||
|
||||
fun testExcludeFolderInSourceRoot() {
|
||||
doTest()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user