Test for KT-7332, already fixed

This commit is contained in:
Simon Ogorodnik
2016-10-11 11:57:12 +03:00
parent 4710f709ce
commit 2a95a4a970
2 changed files with 8 additions and 4 deletions
+6 -4
View File
@@ -1,7 +1,9 @@
//file
class Test {
void test() {
char c1 = 'c';
Character c2 = 'C';
}
private char c = 0;
void test() {
char c1 = 'c';
Character c2 = 'C';
}
}
+2
View File
@@ -1,4 +1,6 @@
internal class Test {
private val c: Char = 0.toChar()
fun test() {
val c1 = 'c'
val c2 = 'C'