mirror of
https://github.com/koalaman/shellcheck.git
synced 2025-09-24 04:59:34 +08:00
Prototype fix
This commit is contained in:
@@ -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!"
|
||||
|
Reference in New Issue
Block a user