KT-1545 reformatting of kotlin code uses incorrect indentation for multi-line kdoc comments

#KT-1545 Open
This commit is contained in:
Nikolay Krasko
2012-08-21 13:25:17 +04:00
parent 2e92594462
commit cb0cf8e563
5 changed files with 28 additions and 18 deletions
@@ -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();
}