Using cube example online at https://elm-lang.org/examples/cube you get a less than optimal error message when adding a space before or after the glsl string.
SSCCE
[glsl |
or
[ glsl|
-- UNEXPECTED SYMBOL ------------------------------------------------------ /try
I was not expecting this vertical bar:
163| [glsl |
^
Vertical bars should only appear in custom type declarations. Maybe you want ||
instead?
Elm: 0.19.(1?)
Browser: n/a
Operating System: n/a
Additional Details
This is on the live example on the website. Based on the console log when you hit the compile button I think that it is Elm 0.19.1 (not sure might be just Elm 0.19?).
Using
cube
example online athttps://elm-lang.org/examples/cube
you get a less than optimal error message when adding a space before or after theglsl
string.SSCCE
or
Additional Details
This is on the live example on the website. Based on the console log when you hit the compile button I think that it is Elm 0.19.1 (not sure might be just Elm 0.19?).