Properly negate with Interpreter, fixes #1636
This commit is contained in:
1 parent
e4987b3e7a
commit
7851dff915
2 files changed
+11
No files matched your search
@@ -84,6 +84,9 @@ class MixedObject(ValueWrapper):
|
||||
return self.compiled_value.py__simple_getitem__(index)
|
||||
return self._wrapped_value.py__simple_getitem__(index)
|
||||
|
||||
def negate(self):
|
||||
return self.compiled_value.negate()
|
||||
|
||||
def _as_context(self):
|
||||
if self.parent_context is None:
|
||||
return MixedModuleContext(self)
|
||||
|
||||
Reference in new issue
Block a user