Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Check 24 - Identical code blocks in local classes #943

Open
jrodriguez-rc opened this issue May 14, 2020 · 0 comments
Open

Check 24 - Identical code blocks in local classes #943

jrodriguez-rc opened this issue May 14, 2020 · 0 comments
Labels

Comments

@jrodriguez-rc
Copy link
Collaborator

I am using the same constants from an interface in a class and in a local class defined inside, using them as aliases

    ALIASES:
      gc_splitter            FOR /rslt/if_ish_event_constants~gc_splitter,
      gc_patient             FOR /rslt/if_ish_event_constants~gc_patient,
      gc_admission           FOR /rslt/if_ish_event_constants~gc_admission,
      gc_surgery             FOR /rslt/if_ish_event_constants~gc_surgery,
      gc_outpatient          FOR /rslt/if_ish_event_constants~gc_outpatient,
      gc_case_classification FOR /rslt/if_ish_event_constants~gc_case_classification,
      gc_absence             FOR /rslt/if_ish_event_constants~gc_absence,
      gc_discharge           FOR /rslt/if_ish_event_constants~gc_discharge,
      gc_transfer            FOR /rslt/if_ish_event_constants~gc_transfer,
      gc_case_insurance      FOR /rslt/if_ish_event_constants~gc_case_insurance,
      gc_case_type           FOR /rslt/if_ish_event_constants~gc_case_type,
      gc_diagnosis           FOR /rslt/if_ish_event_constants~gc_diagnosis,
      gc_risk_factors        FOR /rslt/if_ish_event_constants~gc_risk_factors,
      gc_event_types         FOR /rslt/if_ish_event_constants~gc_event_types,
      gc_action              FOR /rslt/if_ish_event_constants~gc_action,
      gc_status              FOR /rslt/if_ish_event_constants~gc_status.

Problem is that this check detects the same block in both places and reports an error

@larshp larshp added the bug label May 14, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants