wrongError regressions in FOTS tests involving integers
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Zorba |
Fix Committed
|
High
|
Paul J. Lucas |
Bug Description
It seems that the latest integers implementation introduces a number of "wrongError" regressions, i.e., tests that used to pass, but now return the wrong error code.
With BIG_INTEGER OFF, the following tests regress:
testset=
testset=
testset=
testset=
testset=
testset=
With BIG_INTEGER ON, the following ADDITIONAL tests regress:
testset=
testset=
testset=
testset=
testset=
testset=
testset=
Related branches
- Matthias Brantner: Approve
- Paul J. Lucas: Approve
-
Diff: 809 lines (+165/-149)7 files modifiedsrc/runtime/core/path_iterators.cpp (+1/-1)
src/types/casting.cpp (+28/-18)
src/zorbatypes/decimal.cpp (+12/-3)
src/zorbatypes/float.cpp (+23/-18)
src/zorbatypes/float.h (+1/-2)
src/zorbatypes/integer.cpp (+36/-38)
src/zorbatypes/integer.h (+64/-69)
Several of these failures have nothing to do with my integer changes. For example, for fn-function- arity-017, the code at translator. cpp:12459 currently says to throw XPST0017 that, according to the FOTS expected result, is wrong.