phino-0.0.152: test-resources/rewriter-packs/custom/does-not-fail-on-ambiguous.yaml
# SPDX-FileCopyrightText: Copyright (c) 2025 Objectionary.com
# SPDX-License-Identifier: MIT
---
input: '[[ k -> [[ x -> "hello" ]] ]]'
output: |-
⟦
k -> [[ x -> "hi" ]]
⟧
rules:
custom:
- name: custom
pattern: '[[ x -> !e1 ]]'
result: '[[ x -> "hi" ]]'
when:
matches: ['hello', '!e1']