Opened 10 years ago

Last modified 9 years ago

#3163 new defect

Cycling binding that is not cyclic detected — at Version 1

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

Description (last modified by Per Östlund)

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 (1)

comment:1 by Per Östlund, 9 years ago

Description: modified (diff)
Note: See TracTickets for help on using tickets.