Fix for KT-12892 J2K: Wrong placing of comments when constructor converted to primary constructor & init

This commit is contained in:
Simon Ogorodnik
2016-10-18 12:17:11 +03:00
parent b51f5c5bd9
commit 7c8fdc42b4
10 changed files with 112 additions and 11 deletions
@@ -0,0 +1,18 @@
class CtorComment {
public String myA;
/**
* This constructor is especially useful
*/
public CtorComment() {
myA = "str";
}
}
class CtorComment2 {
/**
* This constructor is especially useful
*/
public CtorComment() {}
}