diff options
Diffstat (limited to 'src/synth/elab-vhdl_annotations.adb')
-rw-r--r-- | src/synth/elab-vhdl_annotations.adb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/synth/elab-vhdl_annotations.adb b/src/synth/elab-vhdl_annotations.adb index d5eb0eb63..9475ac940 100644 --- a/src/synth/elab-vhdl_annotations.adb +++ b/src/synth/elab-vhdl_annotations.adb @@ -372,7 +372,8 @@ package body Elab.Vhdl_Annotations is -- Create an info on the interface_type_definition. -- This is needed for a generic type in an entity, as the -- nodes are not instantiated. - Create_Object_Info (Block_Info, Get_Type (Decl)); + Create_Object_Info + (Block_Info, Get_Interface_Type_Definition (Decl)); when Iir_Kinds_Interface_Subprogram_Declaration => -- Macro-expanded null; |