Opened 10 years ago

Last modified 9 years ago

#3163 new defect

Cycling binding that is not cyclic detected — at Initial Version

Reported by: Martin Sjölund Owned by: Per Östlund
Priority: high Milestone: Future
Component: Frontend Version: trunk
Keywords: Cc:

Description

If M.id is renamed to M.idx, the following code works. Seems we do not find out if an identifier comes from within the function scope or not.

model M

function f
  input Integer id;
  output Integer o := id;
end f;

function g = f(final id=id);

Integer id;
Integer y = f(id);
Integer z = g();

end M;

Change History (0)

Note: See TracTickets for help on using tickets.