Fix issues with getitem on compiled objects that have annotations, see #1719
This commit is contained in:
1 parent
47d0318fa6
commit
387d73990b
3 files changed
+29
-3
No files matched your search
@@ -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