Skip to content
GitLab
  • Menu
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • sac2c sac2c
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 401
    • Issues 401
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 12
    • Merge requests 12
  • Deployments
    • Deployments
    • Releases
  • Wiki
    • Wiki
  • External wiki
    • External wiki
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • sac-group
  • sac2csac2c
  • Merge requests
  • !431

Global objects can now appear on the LHS as well. Furthermore, we make the accu explicit before object resolution to allow for effects in fold functions

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Sven-Bodo Scholz requested to merge sbs/sac2c:hotfix-2479-early-accu into develop Sep 02, 2025
  • Overview 7
  • Commits 23
  • Changes 42

Global objects can now appear on the LHS as well. This allows us to use global objects not only as arguments of reference-parameter positions....

The consequence of this is that we also have N_globobjs on LHS after object resolution and hence need to support them in compile....

We also move the explicit accu phase before the resolution of global objects. This resolves issues #2479 (closed) and #2434 (closed).

In principle, this means we no longer need support for non-explicit accu situations in NTCfold (INFO_EXP_ACCU (arg_info) == NULL) branch, but, for the time being we leave this in the code base just in case we need to run the type checker before the explicit accu....

Edited Sep 04, 2025 by Sven-Bodo Scholz
Assignee
Assign to
Reviewer
Request review from
Time tracking
Source branch: hotfix-2479-early-accu