Fixed NoneAssertion clone method
@@ -23,4 +23,5 @@ class NoneAssertion(ass.Assertion):
def clone(
self, memo: Dict[vr.VariableReference, vr.VariableReference]
) -> NoneAssertion:
- return NoneAssertion(self._source.clone(memo), self.value)
+ return NoneAssertion(self._source.clone(memo) if self._source else None,
+ self.value)
