[Gambas-bugtracker] Bug #2682: Short overflow error with JIT

bugtracker at gambaswiki.org bugtracker at gambaswiki.org
Fri Jan 13 21:17:47 CET 2023


Comment #2 by Christof THALHOFER:

It should throw an error here, but does not:

# 2: GambasSelftests.IntegerOverflows.2322 -- Short overflow error
# 5: GambasSelftests.IntegerOverflows.2334 -- Short underflow error

Short is handled wrong, it does not throw an overflow error at 'Try s = HighestShort + 1'. Integer and Long are correct.

More information about the Bugtracker mailing list