forked from VimPlug/jedi
Fix issues with getitem on compiled objects that have annotations, see #1719
This commit is contained in:
@@ -166,7 +166,7 @@ class CompiledValue(Value):
|
||||
except AttributeError:
|
||||
return super().py__simple_getitem__(index)
|
||||
if access is None:
|
||||
return NO_VALUES
|
||||
return super().py__simple_getitem__(index)
|
||||
|
||||
return ValueSet([create_from_access_path(self.inference_state, access)])
|
||||
|
||||
|
||||
Reference in New Issue
Block a user