elm / compiler

Compiler for Elm, a functional language for reliable webapps.
https://elm-lang.org/
BSD 3-Clause "New" or "Revised" License
7.53k stars 663 forks source link

Strange error message on 0.16 alpha 3 #1119

Closed pdamoc closed 8 years ago

pdamoc commented 8 years ago

Starting from Elm Architecture Tutorial Example No. 7 and using the code bellow in Main.elm


import Effects exposing (Never)
import RandomGifList exposing (init, update, view)
import RandomGif exposing (Action(NewGif))
import StartApp
import Task
import Html

app : StartApp.App RandomGifList.Model
app =
  StartApp.start
    { init = init
    , update = update
    , view = view
    , inputs = []
    }

main : Signal Html.Html
main =
  app.html

detect value  =
    case value of 
        NewGif _ ->  Debug.log "Bingo" value
        _ -> Debug.log "Some Other Task" value

port tasks : Signal (Task.Task Never ())
port tasks = Signal.map (\t -> Task.map detect t) app.tasks

I get the following error message in Sublime Text 3:

screen shot 2015-10-25 at 10 57 06

evancz commented 8 years ago

What's the weird part exactly? The ESC[33m stuff? Or the actual content?

If it is the escape characters, that's something going wrong with the Sublime Text extension. They are not handling ANSI escape characters properly.

pdamoc commented 8 years ago

Yes, the ESC[33m part looked weird.

But since this is more likely to be a Sublime Text issue, I'll just close the issue here.

evancz commented 8 years ago

Okay, cool. It probably makes sense to move the report to the repo that is in charge of this extension. It'd be lame to have improvements like this and have them look all weird in sublime!