Files
kotlin/compiler/testData/repl/evaluationErrors.repl
2016-03-31 14:34:56 +03:00

10 lines
205 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 Line4.bar(Unknown Source)