Fixed KNPE in convert primary constructor to secondary #KT-14745 Fixed

This commit is contained in:
mglukhikh
2017-01-16 13:30:41 +03:00
parent cd33a40612
commit 93b2c56bb4
4 changed files with 21 additions and 1 deletions
@@ -0,0 +1,4 @@
// SKIP_ERRORS_BEFORE
// SKIP_ERRORS_AFTER
class My<caret>(val x)
@@ -0,0 +1,10 @@
// SKIP_ERRORS_BEFORE
// SKIP_ERRORS_AFTER
class My {
val x
constructor(x:) {
this.x = x
}
}