diff options
| author | Galen Williamson <galen@vector35.com> | 2025-05-05 13:06:07 -0400 |
|---|---|---|
| committer | Galen Williamson <galen@vector35.com> | 2025-05-05 13:06:07 -0400 |
| commit | a90cbb9ff5195b8ccc354610c17d892e84024fe5 (patch) | |
| tree | 7d0b17f2aebf682617c56782ce4d72b791b6581f /python/variable.py | |
| parent | 42bb3938df78686b6d1ceae003ce8c149f8dc9d8 (diff) | |
Fix order of constructor arguments in VariableNameAndType.from_identifier and .from_core_variable
Diffstat (limited to 'python/variable.py')
| -rw-r--r-- | python/variable.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/python/variable.py b/python/variable.py index 2c57bac9..e8e55d90 100644 --- a/python/variable.py +++ b/python/variable.py @@ -713,11 +713,11 @@ class VariableNameAndType(CoreVariable): @classmethod def from_identifier(cls, identifier, name, type): var = core.BNFromVariableIdentifier(identifier) - return cls(name, type, var.type, var.index, var.storage) + return cls(var.type, var.index, var.storage, name, type) @classmethod def from_core_variable(cls, var, name, type): - return cls(name, type, var.type, var.index, var.storage) + return cls(var.type, var.index, var.storage, name, type) class Variable(CoreVariable): |
