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

modules: cyclic import detection

This commit is contained in:
joe-conigliaro
2019-07-22 01:53:35 +10:00
committed by Alexander Medvednikov
parent 23c5f88f3e
commit 135f200ea2
4 changed files with 180 additions and 39 deletions

View File

@ -22,8 +22,9 @@ mut:
// Holds import information scoped to the parsed file
struct FileImportTable {
mut:
file_path string
imports map[string]string
module_name string
file_path string
imports map[string]string
}
enum AccessMod {