Files
kotlin-fork/compiler/testData/repl/evaluationErrors.repl
T

10 lines
204 B
Plaintext
Vendored

>>> throw Exception("hi there")
java.lang.Exception: hi there
>>> fun foo() = 2
>>> foo()
2
>>> fun bar(): Nothing = throw AssertionError()
>>> bar()
java.lang.AssertionError
at Line_3.bar(Line_3.kts:1)