KT-9839 related, primary constructor to secondary: comment restoration
(cherry picked from commit 48a1853)
This commit is contained in:
committed by
Mikhail Glukhikh
parent
d1958be2a8
commit
3508bea391
+12
@@ -0,0 +1,12 @@
|
||||
/**
|
||||
* An important class
|
||||
*/
|
||||
class WithComments
|
||||
/**
|
||||
* Some nasty constructor
|
||||
*/
|
||||
<caret>constructor(
|
||||
/* First parameter */
|
||||
val first: Int,
|
||||
/* Second Parameter */
|
||||
val second: Double)
|
||||
+17
@@ -0,0 +1,17 @@
|
||||
/**
|
||||
* An important class
|
||||
*/
|
||||
class WithComments
|
||||
/**
|
||||
* Some nasty constructor
|
||||
*/
|
||||
{/* First parameter */
|
||||
/* Second Parameter */
|
||||
val first: Int
|
||||
val second: Double
|
||||
|
||||
constructor(first: Int, second: Double) {
|
||||
this.first = first
|
||||
this.second = second
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user