Report warning on characters which can cause problems on Windows

As soon as we fix KT-17438, this warning will be turned into an error.
This commit is contained in:
Alexander Udalov
2020-06-30 17:17:37 +02:00
parent 181965f6e8
commit ba948cda38
9 changed files with 102 additions and 8 deletions
@@ -5616,6 +5616,11 @@ public class FirOldFrontendDiagnosticsTestGenerated extends AbstractFirOldFronte
runTest("compiler/testData/diagnostics/tests/declarationChecks/MultiDeclarationErrors.kt");
}
@TestMetadata("nameWithDangerousCharacters.kt")
public void testNameWithDangerousCharacters() throws Exception {
runTest("compiler/testData/diagnostics/tests/declarationChecks/nameWithDangerousCharacters.kt");
}
@TestMetadata("namedFunAsLastExpressionInBlock.kt")
public void testNamedFunAsLastExpressionInBlock() throws Exception {
runTest("compiler/testData/diagnostics/tests/declarationChecks/namedFunAsLastExpressionInBlock.kt");