Page MenuHomePhabricator

Cannot define a function by composition on Booleans in Wikifunctions UX
Closed, DuplicatePublicBUG REPORT

Description

Steps to replicate the issue:

Create a new function And() on booleans. Try to define an implementation by composition using If().

What happens?:

Selecting an argument reference of the function does not work.

In expert we see that arguments in the function definition get numbered starting at K2 instead of K1, it might be something to do with that.

Software version:

Tested both in beta cluster and locally at these versions:

Event Timeline

Jdforrester-WMF renamed this task from Cannot define a function by composition on Booleans in Wikifunctions to Cannot define a function by composition on Booleans in Wikifunctions UX.Jul 13 2022, 3:48 PM
gengh removed gengh as the assignee of this task.Jul 20 2022, 3:41 PM
gengh subscribed.

Noting that this is not just for booleans, trying to define the empty string function from https://phabricator.wikimedia.org/T309038 also does not work.