diff --git a/src/xdsl/dialects/memref.py b/src/xdsl/dialects/memref.py index d304aaf942..bfb7d76f3c 100644 --- a/src/xdsl/dialects/memref.py +++ b/src/xdsl/dialects/memref.py @@ -208,7 +208,7 @@ class Global(Operation): # constant = AttributeDef(UnitAttr) @staticmethod - def get(sym_name: StringAttr, + def get(sym_name: Union[str, StringAttr], typ: Attribute, initial_value: Optional[Attribute], sym_visibility="private") -> Global: