From e713a54f694e1bb205cb158f30fbbb6f1648909c Mon Sep 17 00:00:00 2001 From: Tristan Gingold Date: Sun, 29 Jan 2023 09:25:04 +0100 Subject: elab-vhdl_annotations: refactoring --- src/vhdl/vhdl-utils.adb | 1 + 1 file changed, 1 insertion(+) (limited to 'src/vhdl') diff --git a/src/vhdl/vhdl-utils.adb b/src/vhdl/vhdl-utils.adb index e3e04cfe8..04fab38a9 100644 --- a/src/vhdl/vhdl-utils.adb +++ b/src/vhdl/vhdl-utils.adb @@ -1336,6 +1336,7 @@ package body Vhdl.Utils is Def := Get_Subtype_Indication (Decl); -- Implicit functions don't have subtype indication. -- TODO: make them regular ? + -- Also, object aliases may not have a subtype indication. if Def = Null_Iir then return False; end if; -- cgit v1.2.3