Introduce uL/UL suffix to represent numbers of unsigned long type
#KT-24663 Fixed
This commit is contained in:
+10
@@ -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");
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user