I think SVN 1336 looks better.
Best Regards,
Jürgen
On 8/7/20 10:51 PM, Kacper Gutowski
wrote:
Indeed, as Christian wrote, the fix is not sufficient. But I still believe it's in the branch I previously mentioned as commenting out the whole optimization by flipping #if 1 to 0 at PrimitiveFunction.cc:319 fixes it as far as I can see (at cost of performance of course).
Other examples in the same vein still failing at r1334:
A←64?64 ⋄ B←⍳6 ⋄ B≡A[A⍳B] ⍝ this should be 1
0
A←3×⍳64 ⋄ B←⍳6 ⋄ B≡A[A⍳B] ⍝ this should be INDEX ERROR
0
A←⎕IO+64|3×⍳64 ⋄ B←⍳6 ⋄ B≡A[A⍳B] ⍝ this should be 1
0
-k