From 37e2da9d23c606dd30369f77b20204ab182ddbd6 Mon Sep 17 00:00:00 2001 From: Alexander Medvednikov Date: Fri, 28 Jun 2019 21:28:55 +0200 Subject: [PATCH] exit REPL on Windows --- compiler/main.v | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compiler/main.v b/compiler/main.v index 434472590f..0f9e05d9e9 100644 --- a/compiler/main.v +++ b/compiler/main.v @@ -853,7 +853,7 @@ fn new_v(args[]string) *V { fn run_repl() []string { $if windows { println('REPL does not work on Windows yet, sorry!') - exit1() + exit(1) } println('V $Version') println('Use Ctrl-D to exit')