This bug was reported a couple of weeks ago and is fixed in the next beta.  It should have given a 'noun result was required' message.

Henry Rich

On 12/26/2022 7:39 AM, Clifford Reiter wrote:
Crash in windows also. Variant:

f=:{{

{{

+:y

}}

}}

f

3 : (123 123 32 43 58 121 10 32 125 125 32{a.)


Now typing f 0 crashes.


The suspect

([: *./ $:&>)''

|stack error, executing monad $:&>

|infinite recursion


Doesn't seem to be the problem.




On Mon, Dec 26, 2022 at 7:09 AM Jan-Pieter Jacobs <
[email protected]> wrote:

Solving Advent of Code, day 13, I think I ran into a bug in j904 beta-i
(likely doing something I shouldn't, but J shouldn't crash either: loading
the following slimmed-down file:

{{
line=: {{
+:y
}}
comp =: ([: *./ $:&>)`()`()@.cond
5
}}''

crashes J. When only the comp line is commented out, it does not crash, but
when both comp and 5 are commented, it crashes again. Since it also crashes
when comp is commented out, the nonsense in that line is not the (only)
problem...

    JVERSION
Engine: j904/j64arm/android
Beta-i: commercial/2022-12-14T09:27:03
Library: 9.04.06
J Android: 1.4.23/13/33
Platform: Android 64 (arm64-v8a)
Installer: unknown
InstallPath:
/storage/emulated/0/Android/data/com.jsoftware.j.beta.android/files
Contact: www.jsoftware.com

Best regards,

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

----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to