Opened 11 years ago
Last modified 10 years ago
#3163 new defect
Cycling binding that is not cyclic detected
| Reported by: | Martin Sjölund | Owned by: | Per Östlund |
|---|---|---|---|
| Priority: | high | Milestone: | Future |
| Component: | Frontend | Version: | trunk |
| Keywords: | Cc: |
Description (last modified by )
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 (2)
comment:1 by , 10 years ago
| Description: | modified (diff) |
|---|
comment:2 by , 10 years ago
Note:
See TracTickets
for help on using tickets.

This basically happens because we don't have a fully qualified DAE cref so that we can fully qualify stuff we send to the function.