Skip to content

Commit

Permalink
#2761 Add testcase for System2.mo from Buildings (used to generate a …
Browse files Browse the repository at this point in the history
…seg.fault)

git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@22502 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
  • Loading branch information
sjoelund committed Sep 30, 2014
1 parent e2f0deb commit e426d90
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Compiler/FrontEnd/Expression.mo
Expand Up @@ -2193,6 +2193,8 @@ algorithm
then tp;
case (DAE.UNBOX(ty = tp)) then tp;
case (DAE.SHARED_LITERAL(exp = e)) then typeof(e);
// A little crazy, but sometimes we call typeof on things that will not be used in the end...
case (DAE.EMPTY(ty = tp)) then tp;

case e
equation
Expand Down

0 comments on commit e426d90

Please sign in to comment.