diff options
author | Carl Friedrich Bolz-Tereick <cfbolz@gmx.de> | 2020-12-29 21:22:24 +0100 |
---|---|---|
committer | Carl Friedrich Bolz-Tereick <cfbolz@gmx.de> | 2020-12-29 21:22:24 +0100 |
commit | 5818b9ff8dcc8a48bdbd07ba631b4e150f81831b (patch) | |
tree | 69501408a3707fc5b58a98263041ca498a0fa0b0 /rpython | |
parent | rename length and be more careful about its uses (diff) | |
download | pypy-5818b9ff8dcc8a48bdbd07ba631b4e150f81831b.tar.gz pypy-5818b9ff8dcc8a48bdbd07ba631b4e150f81831b.tar.bz2 pypy-5818b9ff8dcc8a48bdbd07ba631b4e150f81831b.zip |
store everything erased
Diffstat (limited to 'rpython')
-rw-r--r-- | rpython/rlib/rerased.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/rpython/rlib/rerased.py b/rpython/rlib/rerased.py index 66666505bd..b27dc3c8ff 100644 --- a/rpython/rlib/rerased.py +++ b/rpython/rlib/rerased.py @@ -81,6 +81,7 @@ def new_erasing_pair(name): identity = ErasingPairIdentity(name) def erase(x): + assert not isinstance(x, Erased) return Erased(x, identity) def unerase(y): |