]> gcc.gnu.org Git - gcc.git/commit
ada: Reject ambiguous function calls in interpolated string expressions
authorJavier Miranda <miranda@adacore.com>
Thu, 6 Jun 2024 12:06:53 +0000 (12:06 +0000)
committerMarc Poulhiès <poulhies@adacore.com>
Fri, 21 Jun 2024 08:34:22 +0000 (10:34 +0200)
commit3cc00ccf4b8a866e2265445aa560a2ca00f613b8
tree0ff3cf8feeeb4f70863c239110c930c64a9b37c0
parent036a37eae64ba6ff73a913fa2f93fc888e4b28b9
ada: Reject ambiguous function calls in interpolated string expressions

When the interpolated expression is a call to an ambiguous call
the frontend does not reject it; erroneously accepts the call
and generates code that calls to one of them.

gcc/ada/

* sem_ch2.adb (Analyze_Interpolated_String_Literal): Reject
ambiguous function calls.
gcc/ada/sem_ch2.adb
This page took 0.054542 seconds and 5 git commands to generate.