[Ada] Fix typos in error message for array delta aggregates
authorPiotr Trojanek <trojanek@adacore.com>
Tue, 8 Sep 2020 21:19:36 +0000 (23:19 +0200)
committerPierre-Marie de Rodat <derodat@adacore.com>
Mon, 26 Oct 2020 08:59:04 +0000 (04:59 -0400)
gcc/ada/

* sem_aggr.adb (Resolve_Delta_Array_Aggregate): Fix typos in
error message.

gcc/ada/sem_aggr.adb

index 35c53bd..71b9bcc 100644 (file)
@@ -3091,7 +3091,7 @@ package body Sem_Aggr is
                         Base_Type (Index_Type)
                      then
                         Error_Msg_NE
-                          ("choice does mat match index type of",
+                          ("choice does not match index type of &",
                            Choice, Typ);
                      end if;
                   else