Skip to content

Failed to make unique variant names for [=,>,<,≥,>=,≤,<=,≠,!=] #948

@mickvangelderen

Description

@mickvangelderen
$ cargo typify ./factorio-data-raw-json-schema.full.json
The application panicked (crashed).
Message:  Failed to make unique variant names for [=,>,<,≥,>=,≤,<=,≠,!=]
Location: C:\Users\runneradmin\.cargo\registry\src\index.crates.io-1949cf8c6b5b557f\typify-impl-0.5.0\src\type_entry.rs:286

Schema: https://raw.githubusercontent.com/jacquev6/factorio-data-raw-json-schema/5bf7e246ce839017ee03f0f5ecb264b3b31a0b95/factorio-data-raw-json-schema.full.json.

Offending definition:

    "ComparatorString": {
      "description": "https://lua-api.factorio.com/stable/types/ComparatorString.html",
      "anyOf": [
        {
          "type": "string",
          "const": "="
        },
        {
          "type": "string",
          "const": ">"
        },
        {
          "type": "string",
          "const": "<"
        },
        {
          "type": "string",
          "const": "\u2265"
        },
        {
          "type": "string",
          "const": ">="
        },
        {
          "type": "string",
          "const": "\u2264"
        },
        {
          "type": "string",
          "const": "<="
        },
        {
          "type": "string",
          "const": "\u2260"
        },
        {
          "type": "string",
          "const": "!="
        }
      ]
    },

EDIT: Seems like this is the same issue as #749

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions