示例#1
0
 def does_type_requires_extra_def(self, t: HdlType, other_types: list):
     try:
         return t._as_hdl_requires_def(self, other_types)
     except MethodNotOverloaded:
         pass
     return False
示例#2
0
 def does_type_requires_extra_def(self, t: HdlType, other_types: list):
     try:
         return t._as_hdl_requires_def(self, other_types)
     except MethodNotOverloaded:
         pass
     return isinstance(t, (HEnum, HArray)) and t not in other_types