1
0
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:
Alexander Medvednikov 2020-04-14 18:36:29 +02:00
parent f91d527154
commit 2251634743

View File

@ -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