From 683ee02cd810c57f051f5b5d5d446dcc950f23f7 Mon Sep 17 00:00:00 2001 From: Hugo Herbelin Date: Thu, 19 Apr 2018 20:18:03 +0200 Subject: An attempt to clarify error message for Arguments needing "rename" flag. Using a formulation which makes it is clear that no renaming has been done. See discussion at issue #2987. --- test-suite/output/Arguments_renaming.out | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'test-suite') diff --git a/test-suite/output/Arguments_renaming.out b/test-suite/output/Arguments_renaming.out index e73312c679..c0b04eb53f 100644 --- a/test-suite/output/Arguments_renaming.out +++ b/test-suite/output/Arguments_renaming.out @@ -1,6 +1,5 @@ The command has indeed failed with message: -To rename arguments the "rename" flag must be specified. -Argument A renamed to B. +Flag "rename" expected to rename A into B. File "stdin", line 2, characters 0-25: Warning: This command is just asserting the names of arguments of identity. If this is what you want add ': assert' to silence the warning. If you want @@ -113,5 +112,4 @@ Argument z cannot be declared implicit. The command has indeed failed with message: Extra arguments: y. The command has indeed failed with message: -To rename arguments the "rename" flag must be specified. -Argument A renamed to R. +Flag "rename" expected to rename A into R. -- cgit v1.2.3