Author: Stephan <[email protected]>
Branch:
Changeset: r98:832dff7c0b8a
Date: 2011-06-08 13:23 +0200
http://bitbucket.org/pypy/lang-js/changeset/832dff7c0b8a/
Log: displeased the translator again
diff --git a/js/jsobj.py b/js/jsobj.py
--- a/js/jsobj.py
+++ b/js/jsobj.py
@@ -613,8 +613,9 @@
def delete_local(self, identifier):
if identifier in self.local_identifiers:
idx = self.get_local_index(identifier)
- self.local_variables[idx] = None
- self.local_identifiers[idx] = None
+ self.local_identifiers[idx] = ''
+ # TODO translator does not like this
+ #self.local_variables[idx] = None
def assign(self, name, value):
assert name is not None
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit