jcollard / elm-mode

Elm mode for emacs
GNU General Public License v3.0
373 stars 67 forks source link

Triple-quoted strings not interpreted as single literal value #60

Closed fredcy closed 8 years ago

fredcy commented 8 years ago

It seems that triple-quoted strings (http://elm-lang.org/docs/syntax#literals) are not handled correctly. For example, this single literal

"""foo"bar"""

seems to be interpreted by elm-mode as if it were these four elements (three literals and bar as an identifier:

""
"foo"
bar
""
Bogdanp commented 8 years ago

Thanks for reporting the issue! This should now be fixed.

fredcy commented 8 years ago

I just upgraded to elm-mode 20160211.26 and now those strings are working fine. Thank you. Elm-mode rocks.