Changeset 996337bf in OpenModelica
- Timestamp:
- 2024-04-30T14:24:33+02:00 (3 weeks ago)
- Branches:
- master
- Children:
- 337cd072, aa44a2d, b54ace2b
- Parents:
- 6c4e231
- git-author:
- Per Östlund <per.ostlund@…> (04/30/24 14:24:33)
- git-committer:
- GitHub <noreply@…> (04/30/24 14:24:33)
- Files:
-
- 1 added
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
OMCompiler/Compiler/NFFrontEnd/NFBinding.mo
ra024851 r996337bf 789 789 end propagate; 790 790 791 function unpropagate 792 input output Binding binding; 793 input InstNode node; 794 algorithm 795 () := match binding 796 case RAW_BINDING() 797 algorithm 798 binding.subs := list(s for s guard not Subscript.isSplitFromOrigin(s, node) in binding.subs); 799 then 800 (); 801 802 else (); 803 end match; 804 end unpropagate; 805 791 806 function source 792 807 input Binding binding; -
OMCompiler/Compiler/NFFrontEnd/NFInst.mo
ra024851 r996337bf 2275 2275 end if; 2276 2276 2277 binding := Binding.unpropagate(binding, node); 2277 2278 comp := Component.setBinding(binding, comp); 2278 2279 InstNode.updateComponent(comp, node); -
OMCompiler/Compiler/NFFrontEnd/NFSubscript.mo
ra024851 r996337bf 1275 1275 end isSplitClassProxy; 1276 1276 1277 function isSplitFromOrigin 1278 input Subscript sub; 1279 input InstNode origin; 1280 output Boolean res; 1281 algorithm 1282 res := match sub 1283 case SPLIT_PROXY() then InstNode.refEqual(origin, sub.origin); 1284 else false; 1285 end match; 1286 end isSplitFromOrigin; 1287 1277 1288 function expandSplitIndices 1278 1289 input list<Subscript> subs; -
testsuite/flattening/modelica/scodeinst/Makefile
ra024851 r996337bf 1155 1155 UnboundParameter2.mo \ 1156 1156 UnboundParameter3.mo \ 1157 UnboundParameter4.mo \ 1157 1158 usertype1.mo \ 1158 1159 usertype2.mo \
Note: See TracChangeset
for help on using the changeset viewer.