6f22baa0f6
Also ignore whitespaces and comments that appear after the last error in a REPL line #KT-15172 Fixed
20 lines
322 B
Plaintext
Vendored
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
|