mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
parser: hide import deprecation warning for now
This commit is contained in:
parent
f91d527154
commit
2251634743
@ -1496,7 +1496,7 @@ fn (p mut Parser) import_stmt() []ast.Import {
|
||||
}
|
||||
p.check(.rpar)
|
||||
} else {
|
||||
p.warn('`import module` has been deprecated, use `import ( module )` instead')
|
||||
// p.warn('`import module` has been deprecated, use `import ( module )` instead')
|
||||
imports << p.parse_import()
|
||||
}
|
||||
return imports
|
||||
|
Loading…
Reference in New Issue
Block a user