Hi Léonard,

On Wed, Aug 8, 2012 at 9:52 PM, Léonard de Haro <[email protected]> wrote:
> "assert v.concretetype is lltype.Void"
> Assertion Error

After a bit of debugging, I found out that this is caused by the two
variable "funMap" and "env" which are both known statically to be the
EMPTY_MAP_ENV instance.  It's a bug in PyPy that it causes such an
obscure crash.  It's also very likely to be a bug in your program,
though.  You would have found it immediately if you had tests (or less
immediately if the translation finished and the program gave
nonsense).  If you really don't want to write tests, you should at
least try to run the program directly on some reasonable examples
before you try to translate it.


A bientôt,

Armin.
_______________________________________________
pypy-dev mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-dev

Reply via email to