@@ -49,14 +49,14 @@ viewError error =
49 , style "display" "flex"
49 , style "display" "flex"
50 , style "flex-direction" "column"
50 , style "flex-direction" "column"
51 , style "align-items" "center"
51 , style "align-items" "center"
52− , style "background-color" "black"
52+ , style "background-color" "rgb(39, 40, 34)"
53 , style "color" "rgb(233, 235, 235)"
53 , style "color" "rgb(233, 235, 235)"
54 , style "font-family" "monospace"
54 , style "font-family" "monospace"
57 [ style "display" "block"
57 [ style "display" "block"
58 , style "white-space" "pre-wrap"
58 , style "white-space" "pre-wrap"
59− , style "background-color" "rgb(39, 40, 34)"
59+ , style "background-color" "black"
60 , style "padding" "2em"
60 , style "padding" "2em"
62 (viewErrorHelp error)
62 (viewErrorHelp error)
@@ -93,37 +93,6 @@ viewProblem filePath problem =
97−toDocHelp :: Exit -> [Exit] -> [D.Doc]
104− exitToDoc e1 : separator (_name e1) (_name e2) : toDocHelp e2 otherErrors
107−exitToDoc :: Exit -> D.Doc
108−exitToDoc (Exit _name path _time source errors) =
109− Compiler.errorsToDoc path source errors
112−separator :: Module.Raw -> Module.Raw -> D.Doc
113−separator beforeName afterName =
115− before = Module.nameToString beforeName ++ " ↑ "
116− after = " ↓ " ++ Module.nameToString afterName
118− D.dullred $ D.vcat $
119− [ D.indent (80 - length before) (D.fromString before)
120− , "====o======================================================================o===="
121− , D.fromString after
128-- VIEW MESSAGE
97-- VIEW MESSAGE