mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
Change import syntax to "import as alias"
This commit is contained in:

committed by
Alexander Medvednikov

parent
163cd8576b
commit
298ca8676f
@ -687,7 +687,7 @@ fn new_file_import_table(file_path string) *FileImportTable {
|
||||
return t
|
||||
}
|
||||
|
||||
fn (fit FileImportTable) known_import(mod string) bool {
|
||||
fn (fit &FileImportTable) known_import(mod string) bool {
|
||||
return fit.imports.exists(mod) || fit.is_aliased(mod)
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user