Ticket #8 (closed defect: fixed)

Opened 14 months ago

Last modified 14 months ago

Illegal code in Utilities

Reported by: HansOlsson Owned by: otter
Priority: normal Milestone: MSL3.0RC1
Component: Utilities Version: 3.0RC1
Severity: Keywords:
Cc: Hide ticket:

Description (last modified by dietmarw) (diff)

The code in source:/trunk/Modelica/Utilities/Examples.mo

has

function expression
'''protected ''' 
'''encapsulated''' function term "Evaluate term of an expression" 
import Modelica.Utilities.Examples.expression.primary;
... 
end term;
'''encapsulated''' function primary ...
end primary;
...
end expression;

This uses import of item that is not in a package, and furthermore the item is protected. Remove 'encapsulated', and 'import' and it will automatically work.

Issue is also present in 2.2.2

Attachments

Change History

Changed 14 months ago by otter

  • owner changed from dag to otter

Changed 14 months ago by otter

  • status changed from new to closed
  • resolution set to fixed

Changed 14 months ago by dietmarw

  • description modified (diff)

fixed in r803

Add/Change #8 (Illegal code in Utilities)

Author



Action
as closed
Next status will be 'reopened'
 
Note: See TracTickets for help on using tickets.