Closed mathgladiator closed 1 year ago
procedure show_day(date the_day) -> DayReport readonly { int events_on_day = (iterate _calendar where when == the_day).size(); ... } bubble this_month_calendar = (Time.today()).calendarViewOf() map show_day;
When _calendar changes, this_month_calendar should update; it doesn't because the function introduces a boundary
This is fixed now with recent diffs where procedures record their dependencies in the type. It's a bit looser than I'd like, but it works.
When _calendar changes, this_month_calendar should update; it doesn't because the function introduces a boundary