Recently, I was writing explicit functions that were nested, in J904
Android Beta-i.

I noticed a crash that can be reproduced as follows:

outer =: {{
  inner =. {{ x + y}}
  10 inner y
}}

outer 5 NB. fine
6 outer 5 NB. crash. expected domain/valence error

Seems "outer" gets confused about its valence due to "inner" containing "x".

No clue whether the same still holds for beta-j (as apparently the apk for
JAndroid wasn't updated). It doesn't crash J904 beta-g and beta-j on my
laptop (AVX), so it could be either specific to Android or beta-i.

Best regards,
Jan-Pieter
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to