Opened 11 years ago
Closed 11 years ago
#2640 closed defect (fixed)
Handle functions with default bindings to inputs
Reported by: | Martin Sjölund | Owned by: | Per Östlund |
---|---|---|---|
Priority: | high | Milestone: | 1.9.1 |
Component: | Frontend | Version: | trunk |
Keywords: | Cc: | Adrian Pop, Per Östlund |
Description
function f input Real x; input Real y := 2 * x; input Real z := x / y; output Real o; algorithm o := x+y+z; end f;
f(1+3);
Should be flattened to:
f(1+3,2*(1+3),(1+3)/(2*(1+3)));
Note:
See TracTickets
for help on using tickets.
Fixed in r19848.