Try to depend only on the ir module being in scope.
Generated code should used qualified names assuming that `ir` is in scope, not everything else.
This commit is contained in:
@@ -39,7 +39,7 @@ class ValueType(object):
|
||||
|
||||
def rust_name(self):
|
||||
# type: () -> str
|
||||
return 'types::' + self.name.upper()
|
||||
return 'ir::types::' + self.name.upper()
|
||||
|
||||
@staticmethod
|
||||
def by_name(name):
|
||||
|
||||
Reference in New Issue
Block a user