[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Gambas-bugtracker] Bug #2839: Add flag or option to allow integer divide not generate ambiguous error


http://gambaswiki.org/bugtracker/edit?object=BUG.2839&from=L21haW4-

Comment #6 by Benoît MINISINI:

It's an error from another commit. That one is fixed in https://gitlab.com/gambas/gambas/-/commit/1b0c0bb9a27e6404381eb8bf14ea16b34683be33.

Now your program fails with "Type mismatch: wanted Integer, got Float instead" error, because the '\' operator is less primary, and its right argument is a floating point value, as '*' and '/' always return.

Benoît MINISINI changed the state of the bug to: Fixed.



----[ Gambas bugtracker-list is hosted by https://www.hostsharing.net ]----