Fix an issue where compiled object api types raised an error.
This commit is contained in:
1 parent
90b76ee3ec
commit
464968aed7
3 files changed
+16
-11
No files matched your search
@@ -272,7 +272,7 @@ class CompiledName(AbstractNameDefinition):
|
||||
|
||||
@property
|
||||
def api_type(self):
|
||||
return self.infer()[0].api_type
|
||||
return next(iter(self.infer())).api_type
|
||||
|
||||
@underscore_memoization
|
||||
def infer(self):
|
||||
|
||||
Reference in new issue
Block a user