KT-9839 related, primary constructor to secondary: comment restoration

(cherry picked from commit 48a1853)
This commit is contained in:
Mikhail Glukhikh
2016-09-30 12:15:54 +03:00
committed by Mikhail Glukhikh
parent d1958be2a8
commit 3508bea391
4 changed files with 40 additions and 1 deletions
@@ -0,0 +1,12 @@
/**
* An important class
*/
class WithComments
/**
* Some nasty constructor
*/
<caret>constructor(
/* First parameter */
val first: Int,
/* Second Parameter */
val second: Double)
@@ -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
}
}