purescript
purescript copied to clipboard
Missing all metadata for custom error
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