Commit 6fb34996 authored by John van Groningen's avatar John van Groningen

the backend uses 0 if a line number is unknown, not -1

parent 5e85da43
......@@ -1235,7 +1235,7 @@ convertRule aliasDummyId (index, {fun_type=Yes type, fun_body=body, fun_pos, fun
positionToLineNumber (LinePos _ lineNumber)
= lineNumber
positionToLineNumber _
= -1
= 0
beautifyAttributes :: SymbolType -> BEMonad SymbolType
beautifyAttributes st
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment