Files
kotlin/compiler/testData/repl/evaluationErrors.repl
Ilya Chernikov 15ccd28e2e Switch old IDE/CLI repls to the new infrastructure
should also fix #KT-5822
2017-05-03 18:11:45 +02:00

10 lines
206 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(Unknown Source)