[Gambas-user] Crash with latest version

Benoît Minisini g4mba5 at gmail.com
Tue Feb 9 02:22:17 CET 2021


Le 09/02/2021 à 00:29, Jussi Lahtinen a écrit :
> Please see the attachment.
> 
> 
> Jussi

This has been fixed by latest commit.

But I saw a strange thing in your code.

At MTest.1963, you pass a 10x10 boolean array to a function that gets an 
Integer array as argument, and returns its number of dimensions.

The interpreter converts the 10x10 boolean array into a 100 elements 
Integer array, and returns 1.

But you apparently expect that function to return 2.

So I'm surprised...

-- 
Benoît Minisini


More information about the User mailing list