Files
kotlin-fork/compiler/testData/repl/multiline/blankLinesAndComments.repl
T
Alexander Udalov 6f22baa0f6 REPL: improve "are all errors at EOF" detection
Also ignore whitespaces and comments that appear after the last error in
a REPL line

 #KT-15172 Fixed
2017-06-08 12:26:54 +03:00

20 lines
322 B
Plaintext
Vendored

>>> fun f1(): String {
...
... return "1"
... }
>>> fun f2(): String { // comment
... return "2" // comment
... } // comment
>>> fun f3(): String {
... /* comment */
...
... // comment
... return "3"
... }
>>> fun f4(): String {
... return "4"
... }
>>>
>>> f1() + f2() + f3() + f4()
1234