Skip to content

Commit

Permalink
Formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
ftomassetti committed Feb 6, 2025
1 parent 41b6e41 commit 707d469
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion core/src/main/kotlin/com/strumenta/kolasu/mapping/Support.kt
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,9 @@ inline fun <reified T : Node> ASTTransformer.translateOptional(original: Any?):
val transformed = transform(it, expectedType = T::class)
if (transformed == null) {
return null
} else transformed as T
} else {
transformed as T
}
}
}

Expand Down

0 comments on commit 707d469

Please sign in to comment.