Skip to content

Commit

Permalink
- fixes for bootstrapping.
Browse files Browse the repository at this point in the history
- empty record constructor, not constant component.

git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@12981 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
  • Loading branch information
adrpo committed Sep 19, 2012
1 parent 8ee0ffb commit e4c13a5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Compiler/FrontEnd/ConnectCheck.mo
Original file line number Diff line number Diff line change
Expand Up @@ -254,8 +254,8 @@ algorithm
String cref_str1, cref_str2;

// Both connectors are non-expandable, check them.
case ((lhs_ty, lhs_cty, lhs_var, lhs_dir), SIMPLE_CONNECTOR,
(rhs_ty, rhs_cty, rhs_var, rhs_dir), SIMPLE_CONNECTOR, err_info)
case ((lhs_ty, lhs_cty, lhs_var, lhs_dir), SIMPLE_CONNECTOR(),
(rhs_ty, rhs_cty, rhs_var, rhs_dir), SIMPLE_CONNECTOR(), err_info)
equation
compatibleConnectorTypes(lhs_cty, rhs_cty, err_info);
compatibleDirection(lhs_dir, rhs_dir, err_info);
Expand Down

0 comments on commit e4c13a5

Please sign in to comment.