mirror of
https://github.com/dense-analysis/ale.git
synced 2025-12-31 00:24:31 +08:00
Show Elm.Kernel as location when report.path is null in a general problem
This commit is contained in:
@@ -95,6 +95,12 @@ Execute(The elm make handler should handle errors in imported modules):
|
||||
\ {
|
||||
\ 'lnum': 1,
|
||||
\ 'type': 'E',
|
||||
\ 'text': "Elm.Kernel - error details\n\nstyled details",
|
||||
\ 'detail': "Elm.Kernel ----------\n\nerror details\n\nstyled details"
|
||||
\ },
|
||||
\ {
|
||||
\ 'lnum': 1,
|
||||
\ 'type': 'E',
|
||||
\ 'text': "src/Module.elm:404 - error details\n\nstyled details",
|
||||
\ 'detail': "src/Module.elm:404 ----------\n\nerror details\n\nstyled details"
|
||||
\ },
|
||||
@@ -107,6 +113,12 @@ Execute(The elm make handler should handle errors in imported modules):
|
||||
\ "message": ["error details\n\n", { "string": "styled details" }]
|
||||
\ }',
|
||||
\ '{
|
||||
\ "type": "error",
|
||||
\ "path": null,
|
||||
\ "title": "UNKNOWN IMPORT",
|
||||
\ "message": ["error details\n\n", { "string": "styled details" }]
|
||||
\ }',
|
||||
\ '{
|
||||
\ "type": "compile-errors",
|
||||
\ "errors": [
|
||||
\ {
|
||||
|
||||
Reference in New Issue
Block a user