Add highlighting for exceptions stacktrace on Mac

KT-29817
Review: KOTLIN-CR-2722
This commit is contained in:
Kirill Shmakov
2019-02-15 18:33:14 +03:00
parent 08de82db85
commit 5595a2dd1b
3 changed files with 158 additions and 2 deletions
@@ -0,0 +1,17 @@
package sample
fun hello(): String = "Hello, Kotlin/Native!"
fun bar(count: Int) {
foo(count - 1)
}
fun foo(count: Int) {
if (count <= 0) throw Exception("foo")
bar(count - 1)
}
fun main() {
foo(20)
println(hello())
}