Closed declension closed 5 years ago
Hey, great find! This issue should be opened in the https://github.com/elm/compiler project somewhere around these lines https://github.com/elm/compiler/blob/d09b95aac107291d50e8ee391d3288fc18c3891a/compiler/src/Parse/Shader.hs#L33
Steps to replicate
A fragment shader like this:
Expected
Actual
(The build uses Webpack, hence these messages)
Note the
src
of theauthor$project$GL$fragmentShader
object is delimited by'
, but the inline comment's'
is not escaped here thus breaking the JS (hence Webpack then failing).