update dependencies

This commit is contained in:
InsanusMokrassar committed 2025-11-05 13:42:27 +06:00
1 parent cb56bf9793
commit 078aedfb68
8 files changed
+82 -19

No files matched your search

@@ -0,0 +1,12 @@
package dev.inmo.micro_ksp.generator
inline fun <T> withNoSuchElementWorkaround(
default: T,
block: () -> T
): T = runCatching(block).getOrElse {
if (it is NoSuchElementException) {
default
} else {
throw it
}
}