Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing all metadata for custom error #4532

Open
NomisIV opened this issue Feb 7, 2024 · 0 comments
Open

Missing all metadata for custom error #4532

NomisIV opened this issue Feb 7, 2024 · 0 comments

Comments

@NomisIV
Copy link

NomisIV commented Feb 7, 2024

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
Projects
None yet
Development

No branches or pull requests

1 participant