Skip to content

Commit a9c57ca

Browse files
committed
- Fix printing of DAE.Type
git-svn-id: https://openmodelica.org/svn/OpenModelica/branches/sjoelund-functiontree@6697 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
1 parent 9793d81 commit a9c57ca

File tree

3 files changed

+7
-2
lines changed

3 files changed

+7
-2
lines changed

Compiler/Types.mo

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2409,6 +2409,11 @@ algorithm
24092409
then
24102410
str;
24112411

2412+
case ((DAE.T_NORETCALL(),_))
2413+
equation
2414+
then
2415+
"()";
2416+
24122417
// All the other ones we don't handle
24132418
case ((_,_)) then "printTypeStr failed";
24142419

Compiler/UnitAbsyn.mo

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package UnitAbsyn " Copyright MathCore 2008-2009.
1+
encapsulated package UnitAbsyn " Copyright MathCore 2008-2009.
22
author Peter Aronsson (peter.aronsson@mathcore.com)
33

44
This module contains the datatypes for representing unit terms.

Compiler/UnitAbsynBuilder.mo

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package UnitAbsynBuilder " Copyright MathCore Engineering AB 2008-2009
1+
encapsulated package UnitAbsynBuilder " Copyright MathCore Engineering AB 2008-2009
22

33
Author: Peter Aronsson (peter.aronsson@mathcore.com)
44

0 commit comments

Comments
 (0)