diff src/evalvars.c @ 27277:b73e3617c1d6 v8.2.4167

patch 8.2.4167: Vim9: error message for old style import Commit: https://github.com/vim/vim/commit/dd5893be34649482ed62525430fb8baa1ec273ce Author: Bram Moolenaar <Bram@vim.org> Date: Thu Jan 20 21:32:54 2022 +0000 patch 8.2.4167: Vim9: error message for old style import Problem: Vim9: error message for old style import. Solution: Use another error message. Add a test.
author Bram Moolenaar <Bram@vim.org>
date Thu, 20 Jan 2022 22:45:03 +0100
parents 98a01021e465
children 53edd190a607
line wrap: on
line diff
--- a/src/evalvars.c
+++ b/src/evalvars.c
@@ -2711,7 +2711,7 @@ eval_variable(
 		else
 		{
 		    if (flags & EVAL_VAR_VERBOSE)
-			emsg(_(e_import_as_name_not_supported_here));
+			semsg(_(e_expected_dot_after_name_str), name);
 		    ret = FAIL;
 		}
 	    }