KT-1545 reformatting of kotlin code uses incorrect indentation for multi-line kdoc comments
#KT-1545 Open
This commit is contained in:
@@ -1,9 +1 @@
|
||||
package p1.p2;/**
|
||||
* Created with IntelliJ IDEA.
|
||||
* User: someone
|
||||
* Date: 2/16/12
|
||||
* Time: 4:23 PM
|
||||
* To change this template use File | Settings | File Templates.
|
||||
*/
|
||||
|
||||
// TODO: Fix formatting of doc comments
|
||||
package p1.p2;/** some */
|
||||
@@ -1,11 +1,3 @@
|
||||
package p1.p2;
|
||||
|
||||
/**
|
||||
* Created with IntelliJ IDEA.
|
||||
* User: someone
|
||||
* Date: 2/16/12
|
||||
* Time: 4:23 PM
|
||||
* To change this template use File | Settings | File Templates.
|
||||
*/
|
||||
|
||||
// TODO: Fix formatting of doc comments
|
||||
/** some */
|
||||
@@ -0,0 +1,11 @@
|
||||
/**
|
||||
* Hello
|
||||
*/
|
||||
class Some {
|
||||
/**
|
||||
* Returns the collection of functions with duplicate function names filtered out
|
||||
* so only the first one is included
|
||||
*/
|
||||
fun test() {
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
/**
|
||||
* Hello
|
||||
*/
|
||||
class Some {
|
||||
/**
|
||||
* Returns the collection of functions with duplicate function names filtered out
|
||||
* so only the first one is included
|
||||
*/
|
||||
fun test() {
|
||||
}
|
||||
}
|
||||
@@ -88,6 +88,10 @@ public class JetFormatterTest extends AbstractJetFormatterTest {
|
||||
doTestWithInvert();
|
||||
}
|
||||
|
||||
public void testSaveSpacesInDocComments() throws Exception {
|
||||
doTest();
|
||||
}
|
||||
|
||||
public void testSingleLineFunctionLiteral() throws Exception {
|
||||
doTest();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user