Page MenuHomePhabricator

Fix type as function call view in default component
Closed, ResolvedPublic

Description

When viewing a ZObject with a type expressed in the shape of a ZFunctionCall, the object viewer loads this as a function call component.

Steps to reproduce:

Observed behavior:

  • The key "arguments" has a "value type" of Z881(Z17) and it's shown like this:

Screenshot from 2022-07-04 13-41-47.png (381×808 px, 30 KB)

  • In the edit page, an editable typed list Z881() is shown like this:

Screenshot from 2022-07-01 12-51-25.png (612×765 px, 43 KB)

Expected behavior:

  • Not sure, but not that.

Event Timeline

Change 815918 had a related patch set uploaded (by Jforrester; author: AdesojiThisDot):

[mediawiki/extensions/WikiLambda@master] When pre-selecting the type of a key-value in the zobject editor, select the type of a type list

https://gerrit.wikimedia.org/r/815918

Change 815918 merged by jenkins-bot:

[mediawiki/extensions/WikiLambda@master] When pre-selecting the type of a key-value in the zobject editor, select the type of a type list

https://gerrit.wikimedia.org/r/815918