KT-7291 Copy/paste of java declaration with preceding comment omitted does not convert it to Kotlin propertly

#KT-7291 Fixed
This commit is contained in:
Valentin Kipyatkov
2015-04-09 15:21:56 +03:00
parent bfadd489a3
commit 498f24b98b
18 changed files with 304 additions and 21 deletions
@@ -0,0 +1,10 @@
// this test should cause the whole file to be converted at once (with non-selected text stripped) and the main function to be generated
package helloWorld;
// sample class
<selection>public class JavaClass {
public static void main(String[] args) {
System.out.println("Hello, world!");
}
}
</selection>