The following line of Elm code make the counter to stop the count:
Html.node "style" [] [ Html.text "div[role=button] {-webkit-tap-highlight-color: transparent}" ]
For example, this file 4 lines of code are reported correctly:
module Main exposing (main)
import Html
main =
Html.node "style" [] [ Html.text "div[role=button] {-webkit-tap-highlight-color: transparent}" ]
But for this file, still 4 lines of code are reported, wrongly.
module Main exposing (main)
import Html
main =
Html.node "style" [] [ Html.text "div[role=button] {-webkit-tap-highlight-color: transparent}" ]
a =
3
The culprit seems being {-}, or a similar string where the dash can be followed by any character, like {-xxx}.