Report error if some deserialized classes are missing in dependencies
Technically we often can compile code which uses missing classes (as long as nothing is called on them) but it seems better to let the user know something's wrong in their setup before the error manifests itself at runtime. Also the Java compiler does the same #KT-4328 Fixed
This commit is contained in:
+5
-1
@@ -291,7 +291,11 @@ public class CompileKotlinAgainstCustomBinariesTest extends TestCaseWithTmpdir {
|
||||
}
|
||||
|
||||
public void testMissingDependencySimple() throws Exception {
|
||||
doTestBrokenKotlinLibrary("library", "a/A.class", "a/A$Inner.class");
|
||||
doTestBrokenKotlinLibrary("library", "a/A.class");
|
||||
}
|
||||
|
||||
public void testMissingDependencyDifferentCases() throws Exception {
|
||||
doTestBrokenKotlinLibrary("library", "a/A.class");
|
||||
}
|
||||
|
||||
public void testMissingDependencyConflictingLibraries() throws Exception {
|
||||
|
||||
Reference in New Issue
Block a user