Skip to content

Commit

Permalink
Add "in" to forbidden keywords
Browse files Browse the repository at this point in the history
Fixes #110
  • Loading branch information
frogggias committed Aug 25, 2024
1 parent 2134944 commit 3727e24
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ internal fun List<KSValueArgument>.getValueArgument(): String? {

fun KSClassDeclaration.getPackageName() : String = packageName.asString()

val forbiddenKeywords = listOf("interface","it")
val forbiddenKeywords = listOf("in","interface","it")
fun String.filterForbiddenKeywords() : String{
return split(".").joinToString(".") {
if (it in forbiddenKeywords) "`$it`" else it
Expand Down

0 comments on commit 3727e24

Please sign in to comment.