Page MenuHomePhabricator

ZObject model: Accept literal true and false as canonical forms of Z41 and Z42
Open, Needs TriagePublic

Event Timeline

I created a patch on the UI side to handle this as a test: https://gerrit.wikimedia.org/r/c/mediawiki/extensions/WikiLambda/+/698554

I think this makes a lot of sense to implement, while working on function calls/implementations I tried to return a Javascript true with an expected return type of Z40/Boolean, and something broke. It would make sense to me to map the literal true/false in the languages we support to the canonical true/false.