mirror of
https://github.com/Ed94/Odin.git
synced 2026-08-06 07:38:48 +00:00
Make the using import deprecation warning an error
This commit is contained in:
+1
-1
@@ -3895,7 +3895,7 @@ Ast *parse_import_decl(AstFile *f, ImportDeclKind kind) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (is_using) {
|
if (is_using) {
|
||||||
syntax_warning(import_name, "'using import' is deprecated, please use the import name explicitly");
|
syntax_error(import_name, "'using import' is not allowed, please use the import name explicitly");
|
||||||
}
|
}
|
||||||
|
|
||||||
expect_semicolon(f, s);
|
expect_semicolon(f, s);
|
||||||
|
|||||||
Reference in New Issue
Block a user