Regression test: char + int = char

This commit is contained in:
Mikhail Glukhikh
2015-07-08 18:37:54 +03:00
parent 5126f01452
commit 7a6e5f66bd
3 changed files with 10 additions and 0 deletions
@@ -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");