Message ID | 20110804152806.GA3723@adacore.com |
---|---|
State | New |
Headers | show |
Index: sem_attr.adb =================================================================== --- sem_attr.adb (revision 177384) +++ sem_attr.adb (working copy) @@ -2068,8 +2068,7 @@ and then not In_Open_Scopes (Scope (P_Type)) and then not In_Spec_Expression then - Error_Msg_Node_1 := First_Subtype (P_Type); - Check_SPARK_Restriction ("invisible attribute of}", N); + Check_SPARK_Restriction ("invisible attribute of type", N); end if; -- Remaining processing depends on attribute