Steps to replicate the issue (include links if applicable):
- please see https://www.wikifunctions.org/view/en/Z16833, which fails for all implementations
- compare https://www.wikifunctions.org/view/en/Z19007, which passes (testing the equality function used in Z16833)
- Logically, the two tests are identical.
What happens?:
Z16833 fails whereas Z19007 passes
What should have happened instead?:
They should both pass (or both should fail)
Software version (on Special:Version page; skip for WMF-hosted wikis like Wikipedia):
Other information (browser name/version, screenshots, etc.):
Z19007 tests equality of generic Types and returns Z41, which passes Boolean equality. Z16833 uses the same equality function to test actual results against expected results (the generic Types extracted from Boolean-typed lists by the same function: https://www.wikifunctions.org/view/en/Z16829)
Details (of failing Z16833):
Expected result: { "Z1K1": "Z7", "Z7K1": "Z16829", "Z16829K1": [ "Z40" ] }
Actual result: { "Z1K1": "Z4", "Z4K1": { "Z1K1": "Z7", "Z7K1": "Z881", "Z881K1": { "Z1K1": "Z4", "Z4K1": "Z40", "Z4K2": [ "Z3", { "Z1K1": "Z3", "Z3K1": "Z40", "Z3K2": "Z40K1", "Z3K3": { "Z1K1": "Z12", "Z12K1": [ "Z11", { "Z1K1": "Z11", "Z11K1": "Z1002", "Z11K2": "identity" } ] }, "Z3K4": "Z41" } ], "Z4K3": "Z140", "Z4K4": "Z844", "Z4K7": [ "Z46" ], "Z4K8": [ "Z64" ] } }, "Z4K2": [ "Z3", { "Z1K1": "Z3", "Z3K1": { "Z1K1": "Z4", "Z4K1": "Z40", "Z4K2": [ "Z3", { "Z1K1": "Z3", "Z3K1": "Z40", "Z3K2": "Z40K1", "Z3K3": { "Z1K1": "Z12", "Z12K1": [ "Z11", { "Z1K1": "Z11", "Z11K1": "Z1002", "Z11K2": "identity" } ] }, "Z3K4": "Z41" } ], "Z4K3": "Z140", "Z4K4": "Z844", "Z4K7": [ "Z46" ], "Z4K8": [ "Z64" ] }, "Z3K2": "K1", "Z3K3": { "Z1K1": "Z12", "Z12K1": [ "Z11", { "Z1K1": "Z11", "Z11K1": "Z1002", "Z11K2": "head" } ] } }, { "Z1K1": "Z3", "Z3K1": { "Z1K1": "Z7", "Z7K1": "Z881", "Z881K1": { "Z1K1": "Z4", "Z4K1": "Z40", "Z4K2": [ "Z3", { "Z1K1": "Z3", "Z3K1": "Z40", "Z3K2": "Z40K1", "Z3K3": { "Z1K1": "Z12", "Z12K1": [ "Z11", { "Z1K1": "Z11", "Z11K1": "Z1002", "Z11K2": "identity" } ] }, "Z3K4": "Z41" } ], "Z4K3": "Z140", "Z4K4": "Z844", "Z4K7": [ "Z46" ], "Z4K8": [ "Z64" ] } }, "Z3K2": "K2", "Z3K3": { "Z1K1": "Z12", "Z12K1": [ "Z11", { "Z1K1": "Z11", "Z11K1": "Z1002", "Z11K2": "tail" } ] } } ], "Z4K3": "Z831", "Z4K7": [ "Z46" ], "Z4K8": [ "Z64" ] }