This was reported on 2024-09-08 here:
https://sourceforge.net/p/oorexx/bugs/1945/#cb5f

The latest fixes are too aggressive regarding what's considered to be a
label "inside an IF" (I don't think that labels inside block instructions
should be banned, but that's another question). They detect labels that
they shouldn't be detecting. In particular, the one you are referring to is
at line 499 of NUMERIC.testGroup. The previous line is an IF instruction,
and the interpreter erroneously detects the next label ("for:") as if it
was part of the IF instruction.

  Josep Maria

Missatge de ooRexx <oor...@jonases.se> del dia dt., 17 de set. 2024 a les
22:10:

> This error is present in most if not all platform tests:
>
> Interpreter:        REXX-ooRexx_5.1.0(MT)_64-bit 6.05 8 Sep 2024
> OS Name:            LINUX
> SysVersion:         Linux 5.14.0-503.el9.x86_64
>
> Tests ran:          23945
> Assertions:         355393
> Failures:           0
> Errors:             1
>
> [Framework exception] 20240908 19:11:40.367276
>   Type: Trap Severity: Fatal
>   File: .../ooRexx/base/keyword/NUMERIC.testGroup
>   Line: 2105
>   Initial call of test container failed
>   Condition: SYNTAX
>     Labels are not allowed within an IF block; found "FOR".
>     File: .../ooRexx/base/keyword/NUMERIC.testGroup
>     Line: 499
>      499 *-* for: Return form()
>     2105 *-* call (file) self~testTypes
>     2053 *-*   container = self~getContainer(fileName)
>       81 *-* containers = finder~seek(testResult)
>       79 *-* retCode = 'worker.rex'(arguments)
>
> File search:        00:00:01.299699
> Suite construction: 00:00:01.266240
> Test execution:     00:07:20.532384
> Total time:         00:07:23.098937
>
> Build step 'Execute shell' marked build as failure
> Finished: FAILURE
>
> It might be the result of this commit
>
>
> Revision: 12905
> Changes
>
>     fix code, update rexref, add LABEL test group for [bugs:#1945] No
> labels should be allowed within DO/LOOP, IF, SELECT (detail)
>     by erich_st
>     fix SIGNAL test group (detail)
>     by erich_st
>
>
> Can anyone that made a commit recently please have a look?
>
> Hälsningar/Regards/Grüsse,
> ooRexx
> oor...@jonases.se
>
>
>
> _______________________________________________
> Oorexx-devel mailing list
> Oorexx-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/oorexx-devel
>
_______________________________________________
Oorexx-devel mailing list
Oorexx-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oorexx-devel

Reply via email to