mirror of
https://github.com/koalaman/shellcheck
synced 2025-07-10 15:22:58 -07:00
Prototype fix
This commit is contained in:
parent
cb57b4a74f
commit
41613babd9
5 changed files with 101 additions and 12 deletions
|
@ -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!"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue