Skip to content

Frontend for the array route: ragged component arrays, structural conditions, attribute variability - #110

Merged
JKRT merged 1 commit into
OpenModelica:masterfrom
JKRT:simcode-arrays
Nov 3, 2026
Merged

JKRT merged 1 commit into
OpenModelica:masterfrom
JKRT:simcode-arrays

Conversation

@JKRT

@JKRT JKRT commented Nov 3, 2026

Copy link
Copy Markdown
Member

Frontend changes the SimCode array route needs (with the OMBackend.jl and OM.jl PRs, branch simcode-arrays in each):

  • collectConstants collects the functions of the constants' bindings
  • markStructuralParamsComp2 follows typed bindings too
  • typeTypeAttribute: the attribute variability check as omc's
  • whenEquationIfCrefs: the if-equation's branches (omc's)
  • ragged arrays of components: per-element if-conditions, flattened cref types

Checked: OMFrontend tests (698 pass); MSL 4.1.0 coverage 2026-11-03: frontend 531/534.

🤖 Generated with Claude Code

- collectConstants: collect the functions of the constants' bindings
- markStructuralParamsComp2: follow typed bindings too
- typeTypeAttribute: the attribute variability check as omc's
- whenEquationIfCrefs: the if-equation's branches (omc's)
- ragged arrays of components: per-element if-conditions, flattened cref types

Assisted-by: Claude Opus 5.5
@codecov

codecov Bot commented Nov 3, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 44.86%. Comparing base (7631d88) to head (fc0230b).
⚠️ Report is 37 commits behind head on master.

Additional details and impacted files
@@             Coverage Diff             @@
##           master     #110       +/-   ##
===========================================
+ Coverage   20.40%   44.86%   +24.45%     
===========================================
  Files         166      170        +4     
  Lines       60213    53409     -6804     
===========================================
+ Hits        12288    23962    +11674     
+ Misses      47925    29447    -18478     

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@JKRT
JKRT merged commit b25e2ea into OpenModelica:master Nov 3, 2026
13 checks passed
JKRT added a commit to JKRT/OMFrontend.jl that referenced this pull request Nov 6, 2026
OpenModelica#110 was squash-merged; this branch's tree equals master's OpenModelica#110. CI of
the PRs named simcode-arrays checks this branch out as OMFrontend.

Assisted-by: Claude Opus 5.5
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant