Skip to content

Commit

Permalink
Remove a redundant pair of parentheses
Browse files Browse the repository at this point in the history
  • Loading branch information
ShreckYe committed Nov 28, 2024
1 parent e0e7265 commit 0ccb6f5
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ suspend fun <T : Any> DatabaseClient<*>.selectExpression(clazz: KClass<T>, expre

suspend inline fun <reified T> DatabaseClient<*>.selectExpression(expression: Expression<T>): T =
@Suppress("UNCHECKED_CAST")
(selectExpression(T::class as KClass<Any>, expression as Expression<Any?>)) as T
selectExpression(T::class as KClass<Any>, expression as Expression<Any?>) as T

@ExperimentalEvscApi
suspend fun <T : Table> DatabaseClient<*>.insert(table: T, body: T.(InsertStatement<Number>) -> Unit) =
Expand Down

0 comments on commit 0ccb6f5

Please sign in to comment.