more tools to deal with Lyng exeption in Kotlin

This commit is contained in:
sergeych committed 2026-01-08 12:42:29 +01:00
1 parent c12804a806
commit 2acb60697d
6 files changed
+53 -5

No files matched your search

+2 -1
View File
@@ -256,9 +256,10 @@ class StackTraceEntry(
val column: Int,
val sourceString: String
) {
val at by lazy { "%s:%s:%s"(sourceName,line+1,column+1) }
/* Formatted representation: source:line:column: text. */
override fun toString() {
"%s:%d:%d: %s"(sourceName, line, column, sourceString.trim())
"%s: %s"(at, sourceString.trim())
}
}