Opened 13 years ago
Last modified 13 years ago
#1607 closed defect (fixed)
Type-check external objects?
Reported by: | Martin Sjölund | Owned by: | Martin Sjölund |
---|---|---|---|
Priority: | high | Milestone: | |
Component: | Version: | ||
Keywords: | Cc: | Martin Sjölund, Per Östlund |
Description
https://trac.modelica.org/Modelica/ticket/577
model M class A extends ExternalObject; function constructor input Real r; output A a; end constructor; function destructor input A a; end destructor; end A; class B extends ExternalObject; function constructor input Real r; output B b; end constructor; function destructor input B b; end destructor; end B; function f input A a; output Real r = 1.5; end f; A a = A(time); B b = B(time); Real r1 = f(a); Real r2 = f(b); end M;
Note:
See TracTickets
for help on using tickets.