-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #661 from smeup/bugfix/LS24004909/MOVEA-bool-to-array
Bugfix/LS24004909/MOVEA Bool to Array
- Loading branch information
Showing
4 changed files
with
78 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
27 changes: 27 additions & 0 deletions
27
rpgJavaInterpreter-core/src/test/resources/smeup/MUDRNRAPU00166.rpgle
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
V* ============================================================== | ||
V* 13/11/2024 APU001 Creation | ||
V* ============================================================== | ||
O * PROGRAM GOAL | ||
O * Assignment of a boolean value to an array by using MOVEA. | ||
V* ============================================================== | ||
O * JARIKO ANOMALY | ||
O * Before the fix: | ||
O * `An operation is not implemented: Converting BooleanValue | ||
O * to ArrayType` | ||
V* ============================================================== | ||
D ARR S 1 DIM(3) INZ(*ON) | ||
D I S 1 0 | ||
D MSG S 1 | ||
|
||
C EXSR SHOW_RES | ||
C MOVEA *OFF ARR #An operation is not implemented: Converting BooleanValue to ArrayType | ||
C EXSR SHOW_RES | ||
|
||
C SETON LR | ||
|
||
C SHOW_RES BEGSR | ||
C FOR I=1 TO %ELEM(ARR) | ||
C EVAL MSG=%CHAR(ARR(I)) | ||
C MSG DSPLY | ||
C ENDFOR | ||
C ENDSR |
27 changes: 27 additions & 0 deletions
27
rpgJavaInterpreter-core/src/test/resources/smeup/MUDRNRAPU00167.rpgle
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
V* ============================================================== | ||
V* 13/11/2024 APU001 Creation | ||
V* ============================================================== | ||
O * PROGRAM GOAL | ||
O * Assignment of a boolean value to an array by using MOVEA. | ||
V* ============================================================== | ||
O * JARIKO ANOMALY | ||
O * Before the fix: | ||
O * `An operation is not implemented: Converting BooleanValue | ||
O * to ArrayType` | ||
V* ============================================================== | ||
D ARR S 1 DIM(3) INZ(*OFF) | ||
D I S 1 0 | ||
D MSG S 1 | ||
|
||
C EXSR SHOW_RES | ||
C MOVEA *ON ARR #An operation is not implemented: Converting BooleanValue to ArrayType | ||
C EXSR SHOW_RES | ||
|
||
C SETON LR | ||
|
||
C SHOW_RES BEGSR | ||
C FOR I=1 TO %ELEM(ARR) | ||
C EVAL MSG=%CHAR(ARR(I)) | ||
C MSG DSPLY | ||
C ENDFOR | ||
C ENDSR |