mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
builtin: rewrite string.split_nth and fix some bugs (#7189)
This commit is contained in:
@ -301,7 +301,7 @@ fn run_repl(workdir string, vrepl_prefix string) {
|
||||
}
|
||||
|
||||
fn print_output(s os.Result) {
|
||||
lines := s.output.trim_right('\n\r').split('\n')
|
||||
lines := s.output.trim_right('\n\r').split_into_lines()
|
||||
for line in lines {
|
||||
if line.contains('.vrepl_temp.v:') {
|
||||
// Hide the temporary file name
|
||||
|
Reference in New Issue
Block a user