Support new form of definitely non-nullable types: T & Any

^KT-26245 In Progress
This commit is contained in:
Denis.Zharkov
2021-08-09 12:10:51 +03:00
committed by teamcityserver
parent cdd8d1c163
commit 302eacbf59
53 changed files with 2139 additions and 196 deletions
@@ -799,6 +799,12 @@ public abstract class KtUsefulTestCase extends TestCase {
fileText = FileUtil.loadFile(new File(filePath), StandardCharsets.UTF_8);
}
catch (FileNotFoundException e) {
try {
FileUtil.writeToFile(new File(filePath), actualText);
}
catch (IOException exception) {
throw new AssertionError(exception);
}
throw new AssertionFailedError("No output text found. File " + filePath + " created.");
}
catch (IOException e) {