Dereferencing bound names from parameters isn't working right
Summary:
Original email from Eric:
I'm trying to encapsulate out some display logic so I don't need to copy-paste-edit a whole mess of QL.
My Default View has
{a bunch of QL} -> +$potentially-archivable-feedback
View Block(""Feedback"", $potentially-archivable-feedback)
The Property View Block (of type Function) starts with
$_1 -> +$model-name
$_2 -> +$things-to-check
When I try to load the Thing's Default View, I get the error
Didn't find a value for potentially-archivable-feedback
That variable is only explicitly referenced in the two lines of Default View, and if I unroll the code, it all works fine, so it looks like the QL for function parameters isn't handling bound names properly? I remember this used to be a problem, but I thought you'd fixed it. (Though I might be remembering bound names not working with built-in functions.)
(Oh, I tried the ~! hack for immediate evaluation, but I don't think that should be required for something like this to Just Work, and it errored anyway.)