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

(cherry picked from commit 998e39e)
This commit is contained in:
Mikhail Glukhikh
2016-09-30 11:23:46 +03:00
committed by Mikhail Glukhikh
parent 725df49c8c
commit d1958be2a8
4 changed files with 39 additions and 2 deletions
@@ -0,0 +1,13 @@
class WithComments {
/**
* A very important property
*/
val veryImportant: Any
/**
* A constructor
*/
constructor<caret>(/* Some parameter */veryImportant: Any) {
this.veryImportant = veryImportant
}
}
@@ -0,0 +1,10 @@
class WithComments/* Some parameter */
/**
* A constructor
*/(
/**
* A very important property
*/
val veryImportant: Any) {
}