packages feed

phino-0.0.152: test-resources/xmir-printing-packs/legacy-positional-data-object.yaml

# SPDX-FileCopyrightText: Copyright (c) 2025 Objectionary.com
# SPDX-License-Identifier: MIT
# yamllint disable rule:line-length
---
# jeo-maven-plugin versions before 0.15.3 emit the as-bytes/data pair of a
# primitive data object positionally (α0) instead of by name; 'matchDataObject'
# in AST.hs still recognizes that legacy form, so it must print exactly like
# the modern named form.
phi: |
  [[
    x -> Q.number(~0 -> Q.bytes(~0 -> [[ D> 40-14-00-00-00-00-00-00 ]]))
  ]]
xpaths:
  - '/object/o[@name="x" and @base="Φ.number"]'
  - '/object/o/o[@as="φ" and @base="Φ.bytes"]'
  - '/object/o/o/o[@as="φ"]'