ComplexOptCheck type has the type of the first opt in it
[kconfig-hardened-check.git] / kconfig_hardened_check / __init__.py
index ae51ca0bcbf913d956f6ccfc78c3af166ef784f9..f1de8195f258d88686bf9fab696f06aec8094716 100644 (file)
@@ -176,6 +176,10 @@ class ComplexOptCheck:
     def name(self):
         return self.opts[0].name
 
+    @property
+    def type(self):
+        return self.opts[0].type
+
     @property
     def expected(self):
         return self.opts[0].expected