Skip to content

Commit

Permalink
Updated expected results for uniontype typevars
Browse files Browse the repository at this point in the history
  • Loading branch information
sjoelund committed Mar 7, 2016
1 parent c8f269f commit cd42b44
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 9 deletions.
12 changes: 6 additions & 6 deletions flattening/modelica/records/NestedRecordTestConstructor.mos
Expand Up @@ -67,13 +67,13 @@ res:=RecordTest.MULT_PLUS(plus1,plus2,plus3);
// end RecordTest.ADD;
// end RecordTest.PLUS;
// record RecordTest.PLUS
// _left = record RecordTest.ADD
// _a1 = 1.0,
// _a2 = 2.0
// left = record RecordTest.ADD
// a1 = 1.0,
// a2 = 2.0
// end RecordTest.ADD;,
// _right = record RecordTest.ADD
// _a1 = 3.0,
// _a2 = 4.0
// right = record RecordTest.ADD
// a1 = 3.0,
// a2 = 4.0
// end RecordTest.ADD;
// end RecordTest.PLUS;
// record RecordTest.MULT_PLUS
Expand Down
4 changes: 2 additions & 2 deletions flattening/modelica/records/SimpleRecordTestConstructor.mos
Expand Up @@ -27,8 +27,8 @@ a:=RecordTest.ADD(1.0,2.0);
// a2 = 2.0
// end RecordTest.ADD;
// record RecordTest.ADD
// _a1 = 1.0,
// _a2 = 2.0
// a1 = 1.0,
// a2 = 2.0
// end RecordTest.ADD;
// record RecordTest.ADD
// a1 = 1.0,
Expand Down
1 change: 1 addition & 0 deletions metamodelica/meta/ErrorInvalidComplexType.mo
Expand Up @@ -9,6 +9,7 @@ end ErrorInvalidComplexType;

// Result:
// Error processing file: ErrorInvalidComplexType.mo
// [metamodelica/meta/ErrorInvalidComplexType.mo:6:1-6:37:writable] Error: Class option not found in scope ErrorInvalidComplexType.option.
// [metamodelica/meta/ErrorInvalidComplexType.mo:6:1-6:37:writable] Error: Invalid complex type name: option<String>
// Error: Error occurred while flattening model ErrorInvalidComplexType
//
Expand Down
2 changes: 1 addition & 1 deletion metamodelica/meta/Uniontype13.mos
Expand Up @@ -17,7 +17,7 @@ g:=Uniontype13.fooIdent(f);
// x = 3
// end Uniontype13.UT.REC1;
// record Uniontype13.foo
// _ut = record Uniontype13.UT.REC1
// ut = record Uniontype13.UT.REC1
// x = 3
// end Uniontype13.UT.REC1;
// end Uniontype13.foo;
Expand Down

0 comments on commit cd42b44

Please sign in to comment.