Message ID | 20200616130745.GA86899@adacore.com |
---|---|
State | New |
Headers | show |
Series | [Ada] Fix assertion failure on qualified type names in predicates | expand |
--- gcc/ada/sem_ch13.adb +++ gcc/ada/sem_ch13.adb @@ -8566,7 +8566,7 @@ package body Sem_Ch13 is -- Identifier (other than static expression) case - else pragma Assert (Nkind (N) = N_Identifier); + else pragma Assert (Nkind_In (N, N_Expanded_Name, N_Identifier)); -- Type case