[Gambas-user] Using shl and or in a mixed statement Causes error?

Benoît Minisini g4mba5 at gmail.com
Sat Feb 19 11:31:26 CET 2022


Le 19/02/2022 à 01:55, Jussi Lahtinen a écrit :
> Compiler warning, not error. I think it is a bug/false warning.
> Curiously this returns true:
> Print TypeOf((CInt(bDa) Shl 8)) = gb.Integer
> 
> And the warning disappears when using the old syntax (= better, in my 
> opinion).
> 
> Jussi
> 
> On Sat, Feb 19, 2022 at 2:36 AM Brian G <brian at westwoodsvcs.com 
> <mailto:brian at westwoodsvcs.com>> wrote:
> 

The false warning has been fixed in the last commit.

Regards,

-- 
Benoît Minisini


More information about the User mailing list