You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Yes, this is an anticipated bug with roots back to SLOCCount, ref the comment block for function remove_haskell_comments() (which is included as an Elm filter) beginning at
Well, I did take my time :) I reran the original case reported as showing 3 lines instead of 4. cloc 1.98 reports the answer is 4 although I don't recall actively changing anything for Elm since then. Can you try with the latest cloc?
The following line of Elm code make the counter to stop the count:
For example, this file 4 lines of code are reported correctly:
But for this file, still 4 lines of code are reported, wrongly.
The culprit seems being
{-}
, or a similar string where the dash can be followed by any character, like{-xxx}
.The text was updated successfully, but these errors were encountered: