Skip to content

Fix type of create_array_ in ABC.Interpreter.Util

Camil Staps requested to merge fix-create_array_-type into master

What does this MR do?

Fixes the interworking tests after https://gitlab.science.ru.nl/clean-compiler-and-rts/compiler/-/commit/faad32c7144403af77a8a4be26ea05f1714560fc. The ABC implementation of create_array_ had become broken and has been replaced by one in Clean.

Related issues

N/A

Changes to public APIs

None.

Author's checklist (required)

See CONTRIBUTING.md for the rationale behind these items:

  • The commit history does not contain merges (use git rebase -i master if it does)
  • Intermediate commits compile (use git rebase -i master if not)
  • Newly added code has a style consistent with the existing code
  • Newly added code is documented
  • A changelog entry has been added if required. See CONTRIBUTING.md
  • If bugs have been solved, tests have been added
  • Appropriate types have been used, especially in APIs
  • If efficiency is part of the acceptance criteria of the issue, a benchmark is provided
  • If enum instruction in src/abc_instructions.h has changed, ABC_VERSION in src/settings.h has been increased

NB: no tests are necessary; these are covered by the existing test suite.

Edited by Camil Staps

Merge request reports