]> gcc.gnu.org Git - gcc.git/blobdiff - gcc/ada/sem_ch12.adb
[multiple changes]
[gcc.git] / gcc / ada / sem_ch12.adb
index 159c6e76ca19cb48d44eabc8444428e20974f2d2..edca3383811e38ef31fa18febcfe0cfc05400c95 100644 (file)
@@ -13578,9 +13578,7 @@ package body Sem_Ch12 is
                      --  information on aggregates in instances.
 
                      if Nkind (N2) = Nkind (N)
-                       and then
-                         Nkind_In (Parent (N2), N_Procedure_Call_Statement,
-                                                N_Function_Call)
+                       and then Nkind (Parent (N2)) in N_Subprogram_Call
                        and then Comes_From_Source (Typ)
                      then
                         if Is_Immediately_Visible (Scope (Typ)) then
This page took 0.047709 seconds and 5 git commands to generate.