diff options
author | Tristan Gingold | 2015-05-26 21:28:30 +0200 |
---|---|---|
committer | Tristan Gingold | 2015-05-26 21:28:30 +0200 |
commit | 2f1b14b847d87954b76feebd2d8f683e5ce92fd7 (patch) | |
tree | 2cbecf0822ed332f27bd3c3d09a37b2aa8fcd1f9 /src/vhdl/sem_expr.adb | |
parent | fca8226fb65a446ebbe35f7db89384b49a93b510 (diff) | |
download | ghdl-2f1b14b847d87954b76feebd2d8f683e5ce92fd7.tar.gz ghdl-2f1b14b847d87954b76feebd2d8f683e5ce92fd7.tar.bz2 ghdl-2f1b14b847d87954b76feebd2d8f683e5ce92fd7.zip |
Rework of overload resolution in implicit conversions.
Fix tiket 81.
Diffstat (limited to 'src/vhdl/sem_expr.adb')
-rw-r--r-- | src/vhdl/sem_expr.adb | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/src/vhdl/sem_expr.adb b/src/vhdl/sem_expr.adb index bbc9aaa..8a7239a 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; |