Introduce uL/UL suffix to represent numbers of unsigned long type

#KT-24663 Fixed
This commit is contained in:
Mikhail Zarechenskiy
2018-06-26 15:38:24 +03:00
parent 7c44992016
commit a765ee41d7
16 changed files with 406 additions and 307 deletions
@@ -34,6 +34,11 @@ public class DiagnosticsWithUnsignedTypesGenerated extends AbstractDiagnosticsWi
runTest("compiler/testData/diagnostics/testsWithUnsignedTypes/allowedVarargsOfUnsignedTypes.kt");
}
@TestMetadata("explicitUnsignedLongTypeCheck.kt")
public void testExplicitUnsignedLongTypeCheck() throws Exception {
runTest("compiler/testData/diagnostics/testsWithUnsignedTypes/explicitUnsignedLongTypeCheck.kt");
}
@TestMetadata("forbiddenEqualsOnUnsignedTypes.kt")
public void testForbiddenEqualsOnUnsignedTypes() throws Exception {
runTest("compiler/testData/diagnostics/testsWithUnsignedTypes/forbiddenEqualsOnUnsignedTypes.kt");
@@ -63,4 +68,9 @@ public class DiagnosticsWithUnsignedTypesGenerated extends AbstractDiagnosticsWi
public void testVarargTypeToArrayTypeCheck() throws Exception {
runTest("compiler/testData/diagnostics/testsWithUnsignedTypes/varargTypeToArrayTypeCheck.kt");
}
@TestMetadata("wrongLongSuffixForULong.kt")
public void testWrongLongSuffixForULong() throws Exception {
runTest("compiler/testData/diagnostics/testsWithUnsignedTypes/wrongLongSuffixForULong.kt");
}
}