Use Range.emptyRange

This commit is contained in:
Jeroen Engels 2021-03-03 08:38:16 +01:00
parent 9d0adae3b1
commit c7c2335ac2

View File

@ -3039,7 +3039,7 @@ elmReviewGlobalError { message, details } =
, ruleName = ""
, message = message
, details = details
, range = { start = { row = 0, column = 0 }, end = { row = 0, column = 0 } }
, range = Range.emptyRange
, fixes = Nothing
, target = Review.Error.UserGlobal
}
@ -3052,7 +3052,7 @@ globalError { message, details } =
, ruleName = ""
, message = message
, details = details
, range = { start = { row = 0, column = 0 }, end = { row = 0, column = 0 } }
, range = Range.emptyRange
, fixes = Nothing
, target = Review.Error.Global
}
@ -3069,7 +3069,7 @@ parsingError rawFile =
, "I need this file to be fixed before analyzing the rest of the project. If I didn't, I would potentially report incorrect things."
, "Hint: Try running `elm make`. The compiler should give you better hints on how to resolve the problem."
]
, range = { start = { row = 0, column = 0 }, end = { row = 0, column = 0 } }
, range = Range.emptyRange
, fixes = Nothing
, target = Review.Error.Module
}