Skip to content

home, spdx and version metas are redundant #1170

@yegor256

Description

@yegor256

I see this in XMIR after jeo:disassemble:

  <metas>
    <meta>
      <head>home</head>
      <tail>https://github.com/objectionary/jeo-maven-plugin</tail>
      <part>https://github.com/objectionary/jeo-maven-plugin</part>
    </meta>
    <meta>
      <head>package</head>
      <tail>j$org.j$eolang.j$benchmark</tail>
      <part>j$org.j$eolang.j$benchmark</part>
    </meta>
    <meta>
      <head>spdx</head>
      <tail>SPDX-License-Identifier: MIT</tail>
      <part>SPDX-License-Identifier:</part>
      <part>MIT</part>
    </meta>
    <meta>
      <head>version</head>
      <tail>0.11.3</tail>
    </meta>
  </metas>

Obviously, these metas are redundant and should not be removed: home, spdx and version. The presence of them makes it hard to compare two XMIR files line by line (using diff): after jeo:disassemble and after phino rewrite.

Metadata

Metadata

Assignees

No one assigned

    Labels

    wontfixThis will not be worked on

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions