Opened 14 years ago

Last modified 14 years ago

#1374 closed defect (fixed)

error when compiling partial function with array parameters

Reported by: PDM Owned by: PDM
Priority: high Milestone:
Component: Version: 1.6.0
Keywords: Cc: PDM, Martin Sjölund

Description

The following example from the Modelica book gives "Error occured building AST - Syntax Error".

{{{partial function gravityInterface

input Real r[3] "position";
output Real g[3] "gravity acceleration";

end gravityInterface;}}}

On removing "partial" or the array indices "[3]", the error disappears.

Change History (2)

comment:1 by Martin Sjölund, 14 years ago

Patch coming soon (currently, OMC tries to do type-checking of functions added through the CORBA interface; even partial ones).

comment:2 by Martin Sjölund, 14 years ago

Fixed in r7500

Note: See TracTickets for help on using tickets.