Prototype fix

This commit is contained in:
Ng Zhi An
2018-10-13 22:42:04 -07:00
parent df0a0d41fa
commit 2778d658bf
5 changed files with 101 additions and 12 deletions

View File

@@ -42,7 +42,8 @@ tokenToPosition startMap t = fromMaybe fail $ do
return $ newPositionedComment {
pcStartPos = fst span,
pcEndPos = snd span,
pcComment = tcComment t
pcComment = tcComment t,
pcFix = tcFix t
}
where
fail = error "Internal shellcheck error: id doesn't exist. Please report!"