Skip to content

Missing all metadata for custom error #4532

Open

Description

@NomisIV

Description

I discovered a debug error in the compiler without any metadata.

    {
      "position": null,
      "message": "  A custom warning occurred while solving type class constraints:\n\n    Debug function usage\n",
      "errorCode": "UserDefinedWarning",
      "errorLink": "https://github.com/purescript/documentation/blob/master/errors/UserDefinedWarning.md",
      "filename": null,
      "moduleName": null,
      "suggestion": null,
      "allSpans": []
    },

To Reproduce

I have no idea how this happened unfortunately :(

Expected behavior

Expected all UserDefinedWarnings to at least have a position and filename

Additional context

PureScript version

0.15.14

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions