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

v2: module/import fixes, use parent_idx instead of parent ptr to remove need to preallocate types array

This commit is contained in:
joe-conigliaro
2020-02-19 13:08:10 +11:00
parent 83faa8b59b
commit b62a90a212
7 changed files with 50 additions and 64 deletions

View File

@ -326,8 +326,12 @@ pub fn (v mut V) compile2() {
println('all .v files before:')
println(v.files)
}
// v1 compiler files
v.add_v_files_to_compile()
//v.files << v.dir
// v2 compiler
//v.files << v.get_builtin_files()
//v.files << v.get_user_files()
if v.pref.is_verbose {
println('all .v files:')
println(v.files)