Skip to content
This repository has been archived by the owner on May 18, 2019. It is now read-only.

Commit

Permalink
Type checking updates for the new fron-end
Browse files Browse the repository at this point in the history
  Filling up the missing cases for equations and algorithms.
  Updated binary operation checks.
  • Loading branch information
mahge authored and OpenModelica-Hudson committed Nov 22, 2016
1 parent b781dc9 commit 60beb68
Show file tree
Hide file tree
Showing 3 changed files with 586 additions and 106 deletions.
2 changes: 1 addition & 1 deletion Compiler/NFFrontEnd/NFInst.mo
Original file line number Diff line number Diff line change
Expand Up @@ -1005,7 +1005,7 @@ algorithm
// Instantiate each branch and pair it up with a condition.
branches := {};
for branch in scodeEq.thenBranch loop
eql := instEEquations(scodeEq.elseBranch, scope);
eql := instEEquations(branch, scope);
exp1 :: expl := expl;
branches := (exp1, eql) :: branches;
end for;
Expand Down

0 comments on commit 60beb68

Please sign in to comment.