on master help sign in
remove TODO about checking error message quality
8606d64Evan Czaplicki
compiler/src/Reporting/Error/Syntax.hs−1
@@ -2243,7 +2243,6 @@ toExprReport source context expr startRow startCol =
2243 InNode NElse r c _ -> (r, c, "an `if` expression")
2243 InNode NElse r c _ -> (r, c, "an `if` expression")
2244 InNode NCase r c _ -> (r, c, "a `case` expression")
2244 InNode NCase r c _ -> (r, c, "a `case` expression")
2245 InNode NBranch r c _ -> (r, c, "a `case` expression")
2245 InNode NBranch r c _ -> (r, c, "a `case` expression")
2246− -- TODO check if this is actually the best way to get error messages here
2247
2246
2248 surroundings = A.Region (A.Position contextRow contextCol) (A.Position row col)
2247 surroundings = A.Region (A.Position contextRow contextCol) (A.Position row col)
2249 region = toRegion row col
2248 region = toRegion row col