Regression test: char + int = char
This commit is contained in:
@@ -0,0 +1 @@
|
||||
val x: Char = '1'.plus(1)
|
||||
@@ -0,0 +1,3 @@
|
||||
package
|
||||
|
||||
internal val x: kotlin.Char = \u0032 ('2')
|
||||
@@ -10530,6 +10530,12 @@ public class JetDiagnosticsTestGenerated extends AbstractJetDiagnosticsTest {
|
||||
doTest(fileName);
|
||||
}
|
||||
|
||||
@TestMetadata("intchar.kt")
|
||||
public void testIntchar() throws Exception {
|
||||
String fileName = JetTestUtils.navigationMetadata("compiler/testData/diagnostics/tests/regressions/intchar.kt");
|
||||
doTest(fileName);
|
||||
}
|
||||
|
||||
@TestMetadata("itselfAsUpperBound.kt")
|
||||
public void testItselfAsUpperBound() throws Exception {
|
||||
String fileName = JetTestUtils.navigationMetadata("compiler/testData/diagnostics/tests/regressions/itselfAsUpperBound.kt");
|
||||
|
||||
Reference in New Issue
Block a user