Kapt: Remove comments inside enum values (KT-22350)

This commit is contained in:
Yan Zhulanow
2018-01-24 00:06:51 +03:00
parent a171874b2f
commit abda4bfb57
4 changed files with 81 additions and 10 deletions
@@ -42,4 +42,21 @@ annotation class Anno
class Test4 {
// method simple comment
fun method() {}
}
enum class EnumError {
One {
override fun doIt() = ""
class OneOne {
/** Documentation for 'test'. */
fun test() {}
}
},
Two {
/** Documentation for 'doIt'. */
override fun doIt() = ""
};
abstract fun doIt(): String
}