1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00

parser: clean up all []

This commit is contained in:
Alexander Medvednikov
2019-11-14 09:18:07 +03:00
parent 5df5f97daf
commit 4a833d8151
6 changed files with 21 additions and 14 deletions

View File

@@ -570,7 +570,7 @@ pub fn (v &V) v_files_from_dir(dir string) []string {
pub fn (v mut V) add_v_files_to_compile() {
mut builtin_files := v.get_builtin_files()
if v.pref.is_bare {
builtin_files = []string
builtin_files = []
}
// Builtin cache exists? Use it.
builtin_vh := '$v_modules_path${os.path_separator}vlib${os.path_separator}builtin.vh'