Files
kotlin/compiler/testData/repl/evaluationErrors.repl
Alexander Udalov 844845c6e3 REPL: sanitize stack traces
Don't include our compiler's and preloader's internal code, reflection, native
methods etc. Also delete "substring" matching logic from tests
2014-08-13 15:42:10 +04:00

12 lines
262 B
Plaintext

>>> throw Exception("hi there")
java.lang.Exception: hi there
at Line1.<init>(Unknown Source)
>>> fun foo() = 2
>>> foo()
2
>>> fun bar() = throw AssertionError()
>>> bar()
java.lang.AssertionError
at Line4.bar(Unknown Source)
at Line5.<init>(Unknown Source)