Prototype fix

This commit is contained in:
Ng Zhi An 2018-10-13 22:42:04 -07:00 committed by Vidar Holen
parent cb57b4a74f
commit 41613babd9
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!"