Adaptive - Common Language Runtime detected an invalid program

again an adaptive question:

please see the following patch:

genericAdaptive.vl (15.7 KB)

Nothing too special: an adaptive ToString and its use in 2 variations.

Anyway, in my real usecase/project, i have a similar construct, but there it is causing issues:

First, i was under the impression, that the generic input is the culprit, which was the reason to create the genericAdaptive.vl testpatch. Since this one works as expected, the issue must be something else.

This faulting patch can be seen here: GitHub - schnellebuntebilder/VL.XmlModule at feat/spreads
(open HowTo Xml module.vl, the error should pop up)