Suggest to use "-Xskip-metadata-version-check" on incompatible classes in classpath

This commit is contained in:
Alexander Udalov
2016-12-08 12:11:06 +03:00
parent 830d2f6603
commit 513ebb9729
6 changed files with 27 additions and 9 deletions
@@ -1,3 +1,4 @@
error: incompatible classes were found in dependencies. Remove them from the classpath or use '-Xskip-metadata-version-check' to suppress errors
compiler/testData/compileKotlinAgainstCustomBinaries/releaseCompilerAgainstPreReleaseLibrary/source.kt:5:16: error: class 'a.A' is compiled by a pre-release version of Kotlin and cannot be loaded by this version of the compiler
fun baz(param: A, nested: A.Nested) {
^