Issue 3586, second test case.

-- schema.json --
{
    "oneOf": [
        {
            "type": "string"
        },
        {
            "type": [
                "string",
                "number"
            ]
        }
    ]
}
-- out/decode/extract --
matchN(1, [string, number | string])
-- test/err-string.json --
"something"
-- out/decode/testerr/err-string --
invalid value "something" (does not satisfy matchN): 2 matched, expected 1:
    generated.cue:1:1
    generated.cue:1:8
    test/err-string.json:1:1
