From 2251634743ed857cb2de1453d900b44da5bcfc3e Mon Sep 17 00:00:00 2001 From: Alexander Medvednikov Date: Tue, 14 Apr 2020 18:36:29 +0200 Subject: [PATCH] parser: hide import deprecation warning for now --- vlib/v/parser/parser.v | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vlib/v/parser/parser.v b/vlib/v/parser/parser.v index 9df088709d..798db4426c 100644 --- a/vlib/v/parser/parser.v +++ b/vlib/v/parser/parser.v @@ -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