Kapt: Remove comments inside enum values (KT-22350)
This commit is contained in:
@@ -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
|
||||
}
|
||||
Reference in New Issue
Block a user