What should happen here?
DCL f FIXED(7) INIT(1024 FIT f);
1024 does not fit into a FIXED(7).
The runtime system would induce a FixedRangeSignal.
Thus, I expect that the compiler emits an error message.
Test is in testsuite/tickets/371_fit.prl
the test should that there are several problems:
Reasons:
@2: The German language report also denotes Faktor ::= .... [ FIT konstanter-FIT-Ausdruck ]
This bug seam to be very old!
by the way:
Anonymous
Diff:
Diff:
The ignored '-' is now treated
A tests with the Werum compiler showed, that
RTOS-UH: The language report of RTOS-UH does not contain the word 'FIT'
Next steps:
Last edit: Rainer Müller 2022-01-22
Decision after a short discussion:
Fixed with commit 060c8abced6a99360da9a0251cc98a8094a4fc9b
Diff: