aboutsummaryrefslogtreecommitdiffstats
path: root/src/vhdl/sem_expr.adb
diff options
context:
space:
mode:
Diffstat (limited to 'src/vhdl/sem_expr.adb')
-rw-r--r--src/vhdl/sem_expr.adb6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/vhdl/sem_expr.adb b/src/vhdl/sem_expr.adb
index bbc9aaa22..8a7239a0f 100644
--- a/src/vhdl/sem_expr.adb
+++ b/src/vhdl/sem_expr.adb
@@ -1587,11 +1587,7 @@ package body Sem_Expr is
--
-- If there are two functions, one primitive of a universal
-- type and the other not, return the primitive of the universal type.
- -- This rule is *not* from LRM (but from Ada) and allows to resolve
- -- common cases such as:
- -- constant c1 : integer := - 4; -- or '+', 'abs'
- -- constant c2 : integer := 2 ** 3;
- -- constant c3 : integer := 3 - 2; -- or '+', '*', '/'...
+ -- This implements implicit type conversions rules.
function Get_Non_Implicit_Subprogram (List : Iir_List) return Iir
is
El : Iir;