Skip to content

Commit

Permalink
[NF] Add missing case for fold subscript.
Browse files Browse the repository at this point in the history
Belonging to [master]:
  - OpenModelica/OMCompiler#2286
  • Loading branch information
mahge authored and OpenModelica-Hudson committed Mar 17, 2018
1 parent 3c4a094 commit 79e9b3d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Compiler/NFFrontEnd/NFExpression.mo
Expand Up @@ -1677,6 +1677,7 @@ public
case Subscript.UNTYPED() then fold(subscript.exp, func, arg);
case Subscript.INDEX() then fold(subscript.index, func, arg);
case Subscript.SLICE() then fold(subscript.slice, func, arg);
case Subscript.WHOLE() then arg;
end match;
end foldSubscript;

Expand Down

0 comments on commit 79e9b3d

Please sign in to comment.