Page MenuHomePhabricator

Consider Adding an `isFunctionInternal` Attribute to ZWrapper
Open, LowPublic



Many of the workarounds in the orchestrator (like resolveInternals) are there because it's hard to disginguish between ZObjects that must be fully evaluated (e.g., arguments to a function call) and those that need not (e.g., function call internals). If the ZWrapper itself contained this information, we could reduce the number of error-prone flags being passed around and have a semantically correct way of assessing how to treat ambiguous ZObjects (those that might or might not be part of the machinery of a function call).

Desired behavior/Acceptance criteria (returned value, expected error, performance expectations, etc.)

  • discuss the isFunctionInternal flag
  • implement it or don't

Completion checklist