Closed purcell closed 7 years ago
I am not able to replicate this issue.
I have a module
|
module Card exposing(..)
import Html exposing (Html, Attribute, text, div, input, span)
...
for me, with my cursor at the m
in module, I don't get an error.
changing the new elm exposing(..)
syntax to where
also doesn't raise an error.
Are you still experiencing this issue?
Thanks for the comment! That's not quite the case I described, though: cursor should be on the empty leading line. And then, yes, the error is still present for me.
Ah, thanks! I thought that was meant as a downward arrow. I see it as well now.
Yay, great. Thanks.
Given
where
|
denotespoint
, indentation raises an error:This appears to be because - in
elm-indent-indentation-info
,elm-indent-start-of-def
returns a position greater than(point)
. Not obvious to me what the most correct fix for this would be, sorry.