[Ada] Better error for illegal call to abstract operation in instantiations
authorGary Dismukes <dismukes@adacore.com>
Wed, 26 Aug 2020 23:35:06 +0000 (19:35 -0400)
committerPierre-Marie de Rodat <derodat@adacore.com>
Fri, 23 Oct 2020 08:24:46 +0000 (04:24 -0400)
commitf9c20bd7853a746b7c9373bff6b92459b53703cd
tree6d8f4ef850154030ca9c26fdc298dc5bfec1e427
parentca5d8b907298d5818127ead3f0d5a628e5f5dcc3
[Ada] Better error for illegal call to abstract operation in instantiations

gcc/ada/

* sem_ch4.adb (Analyze_Call): In the case where the call is not
overloaded, check for a call to an abstract nondispatching
operation and flag an error.
gcc/ada/sem_ch4.adb