feat: stack trace shortening #16
Loading…
Reference in a new issue
No description provided.
Delete branch "feat/short-traces"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
@ -0,0 +236,4 @@return falseval rest = when {frameId.length == key.length -> ""frameId[key.length] == '.' -> frameId.substring(key.length + 1)Have you considered not filtering out nested classes and lambdas here?
The matcher accepts . after the key, while the compiler may continue class names with $. So an include key like de.loosetie.shop.OrderService keeps OrderService.place, but OrderService$place$1.invoke and OrderService$Companion.validate may end up in the gap. This affects lambdas and things like detached callbacks with coroutines.
Suggestion: also accept $ as boundary.