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:
Jakob Stoklund Olesen
2017-07-28 16:13:51 -07:00
parent 1968ebad58
commit 6609d7baf4
9 changed files with 11 additions and 11 deletions

View File

@@ -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):