Fix for KT-12892 J2K: Wrong placing of comments when constructor converted to primary constructor & init
This commit is contained in:
@@ -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() {}
|
||||
}
|
||||
Reference in New Issue
Block a user