more tools to deal with Lyng exeption in Kotlin
This commit is contained in:
1 parent
c12804a806
commit
2acb60697d
6 files changed
+53
-5
No files matched your search
@@ -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())
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user