Skip to content

Commit

Permalink
Remove html functions from compiler error message
Browse files Browse the repository at this point in the history
Not required and reduced signal to noise on the example
  • Loading branch information
blaix committed Dec 18, 2024
1 parent 7a6e5a7 commit 36c71e9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Page/Index.elm
Original file line number Diff line number Diff line change
Expand Up @@ -151,10 +151,10 @@ viewItems items =
[ Html.span
[ Attribute.style "color" "rgb(36, 163, 175)" ]
[ Html.text "-- TYPE MISMATCH ------------------------------------------------- src/Main.gren\n\n" ]
, Html.text "The 1st argument to `viewItems` is not what I expect:\n\n14| Html.text (\"Item IDs: \" ++ (viewItems [1, 2, 3]))\n"
, Html.text "The 1st argument to `viewItems` is not what I expect:\n\n14| \"Item IDs: \" ++ (viewItems [1, 2, 3])\n"
, Html.span
[ Attribute.style "color" "rgb(194, 54, 33)" ]
[ Html.text <| (String.repeat 45 " ") ++ "^^^^^^^^^\n" ]
[ Html.text <| (String.repeat 34 " ") ++ "^^^^^^^^^\n" ]
, Html.text "This argument is an array of type:\n\n Array "
, Html.span
[ Attribute.style "color" "rgb(173, 173, 39)" ]
Expand Down

0 comments on commit 36c71e9

Please sign in to comment.