Fixed KNPE in convert primary constructor to secondary #KT-14745 Fixed
This commit is contained in:
@@ -0,0 +1,4 @@
|
||||
// SKIP_ERRORS_BEFORE
|
||||
// SKIP_ERRORS_AFTER
|
||||
|
||||
class My<caret>(val x)
|
||||
+10
@@ -0,0 +1,10 @@
|
||||
// SKIP_ERRORS_BEFORE
|
||||
// SKIP_ERRORS_AFTER
|
||||
|
||||
class My {
|
||||
val x
|
||||
|
||||
constructor(x:) {
|
||||
this.x = x
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user