From 64bdb3a09770b96afccd3b375b5c91214e97415b Mon Sep 17 00:00:00 2001 From: gingerBill Date: Sun, 26 May 2024 12:17:03 +0100 Subject: Fix #3630 (first part) --- src/check_expr.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/check_expr.cpp') diff --git a/src/check_expr.cpp b/src/check_expr.cpp index 5d4d6c73b..8672941c1 100644 --- a/src/check_expr.cpp +++ b/src/check_expr.cpp @@ -1805,7 +1805,7 @@ gb_internal Entity *check_ident(CheckerContext *c, Operand *o, Ast *n, Type *nam case Entity_ImportName: if (!allow_import_name) { - error(n, "Use of import '%.*s' not in selector", LIT(name)); + error(n, "Use of import name '%.*s' not in the form of 'x.y'", LIT(name)); } return e; case Entity_LibraryName: -- cgit v1.2.3