From 16c9f4e4700b8a50322f5af8feef948cc3ca0eed Mon Sep 17 00:00:00 2001 From: Lucas Borin <5233413+lucasborin@users.noreply.github.co> Date: Mon, 11 Oct 2021 16:41:36 +0000 Subject: [PATCH 1/4] resolves #474 --- src/foundation/y_check_base.clas.abap | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/src/foundation/y_check_base.clas.abap b/src/foundation/y_check_base.clas.abap index a1ef5b9e..06ea76cc 100644 --- a/src/foundation/y_check_base.clas.abap +++ b/src/foundation/y_check_base.clas.abap @@ -251,14 +251,14 @@ CLASS Y_CHECK_BASE IMPLEMENTATION. METHOD inspect_structures. DATA(structures) = FILTER #( ref_scan->structures IN relevant_structure_types WHERE type = table_line ). - LOOP AT structures ASSIGNING FIELD-SYMBOL(). - inspect_statements( ). + LOOP AT structures INTO structure_wa. + inspect_statements( structure_wa ). ENDLOOP. structures = FILTER #( ref_scan->structures IN relevant_statement_types WHERE stmnt_type = table_line ). - LOOP AT structures ASSIGNING . - inspect_statements( ). + LOOP AT structures INTO structure_wa. + inspect_statements( structure_wa ). ENDLOOP. ENDMETHOD. @@ -266,12 +266,11 @@ CLASS Y_CHECK_BASE IMPLEMENTATION. METHOD inspect_statements. DATA(index) = structure-stmnt_from. - LOOP AT ref_scan->statements ASSIGNING FIELD-SYMBOL() - FROM structure-stmnt_from - TO structure-stmnt_to. + LOOP AT ref_scan->statements INTO statement_wa + FROM structure-stmnt_from TO structure-stmnt_to. inspect_tokens( index = index structure = structure - statement = ). + statement = statement_wa ). index = index + 1. ENDLOOP. From 70e9d7b2bf94de37897c534ae4e81e3de827eb43 Mon Sep 17 00:00:00 2001 From: Lucas Borin <5233413+lucasborin@users.noreply.github.com> Date: Mon, 11 Oct 2021 13:43:25 -0300 Subject: [PATCH 2/4] changelog --- changelog.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/changelog.txt b/changelog.txt index c521269a..9825aa5f 100644 --- a/changelog.txt +++ b/changelog.txt @@ -18,6 +18,7 @@ Legend 2021-08-XX v.1.16.0 ------------------ +* Use native *_wa variables (#474) * Refactoring (#436,#452,#458) * Cannot run unit tests on 752 (#461) * Profiles: Allow Exemptions (#447) From 4783dd7f9adc0c4111f6dcd464d49b23db90011b Mon Sep 17 00:00:00 2001 From: Lucas Borin <5233413+lucasborin@users.noreply.github.com> Date: Mon, 11 Oct 2021 15:00:27 -0300 Subject: [PATCH 3/4] forcing commit --- changelog.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/changelog.txt b/changelog.txt index 9825aa5f..7c27cdf9 100644 --- a/changelog.txt +++ b/changelog.txt @@ -18,7 +18,7 @@ Legend 2021-08-XX v.1.16.0 ------------------ -* Use native *_wa variables (#474) +* Use native *_wa variables(#474) * Refactoring (#436,#452,#458) * Cannot run unit tests on 752 (#461) * Profiles: Allow Exemptions (#447) From 61883d6c19ed904800147ab0f6f4f3b8086eb48e Mon Sep 17 00:00:00 2001 From: Lucas Borin <5233413+lucasborin@users.noreply.github.com> Date: Mon, 11 Oct 2021 15:00:34 -0300 Subject: [PATCH 4/4] restore --- changelog.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/changelog.txt b/changelog.txt index 7c27cdf9..9825aa5f 100644 --- a/changelog.txt +++ b/changelog.txt @@ -18,7 +18,7 @@ Legend 2021-08-XX v.1.16.0 ------------------ -* Use native *_wa variables(#474) +* Use native *_wa variables (#474) * Refactoring (#436,#452,#458) * Cannot run unit tests on 752 (#461) * Profiles: Allow Exemptions (#447)