denis.st
03/09/2016, 9:00 PMassert
shows a number beyond the end of file.
I found this issue – https://youtrack.jetbrains.com/issue/KT-8066, but it appears to be fixed 3 mo's ago.
Here is the sample code executed in try.kotl.in:
fun foo() {
assert(false)
}
fun main(args: Array<String>) {
foo()
}
Exception in thread "main" java.lang.AssertionError: Assertion failed
at Assert_stack_traceKt.foo(assert stack trace.kt:12)
at Assert_stack_traceKt.main(assert stack trace.kt:5)