[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 35c53bdfbe271f5060708126dcdf2bad38a86f37..71b9bccc3c16782ff84cecbf7e52c997266be8a1 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