[Ada] Spurious error on incomplete tagged formal parameter
This patch fixes an issue whereby a check for competing controlling formals led to a spurious dispatching error due to an incomplete type being used within a subprogram specification. 2019-07-04 Justin Squirek <squirek@adacore.com> gcc/ada/ * sem_disp.adb (Check_Controlling_Formals): Obtain the full view before type comparison. gcc/testsuite/ * gnat.dg/tagged2.adb, gnat.dg/tagged2.ads: New testcase. From-SVN: r273063
Showing
gcc/testsuite/gnat.dg/tagged2.adb
0 → 100644
gcc/testsuite/gnat.dg/tagged2.ads
0 → 100644
Please
register
or
sign in
to comment