mirror of
https://github.com/odin-lang/Odin.git
synced 2026-02-15 07:43:13 +00:00
Merge pull request #6277 from tpat7187/master
Minor Spelling mistake in Using error line
This commit is contained in:
@@ -2965,7 +2965,7 @@ gb_internal void check_stmt_internal(CheckerContext *ctx, Ast *node, u32 flags)
|
||||
if ((feature_flags & OptInFeatureFlag_UsingStmt) == 0) {
|
||||
ERROR_BLOCK();
|
||||
error(node, "'using' has been disallowed as it is considered bad practice to use as a statement outside of immediate refactoring");
|
||||
error_line("\tIt you do require it for refactoring purposes or legacy code, it can be enabled on a per-file basis with '#+feature using-stmt'\n");
|
||||
error_line("\tIf you do require it for refactoring purposes or legacy code, it can be enabled on a per-file basis with '#+feature using-stmt'\n");
|
||||
}
|
||||
|
||||
for (Ast *expr : us->list) {
|
||||
|
||||
Reference in New Issue
Block a user