Skip to content

Commit

Permalink
Print variable name in SignatureNoBind error message.
Browse files Browse the repository at this point in the history
Fixes #608.
  • Loading branch information
Brian Huffman committed Jun 13, 2019
1 parent ede8c3f commit 018213d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Cryptol/Parser/NoPat.hs
Original file line number Diff line number Diff line change
Expand Up @@ -520,7 +520,7 @@ instance PP Error where
SignatureNoBind x s ->
text "At" <+> pp (srcRange x) <.> colon <+>
text "Type signature without a matching binding:"
$$ nest 2 (pp s)
$$ nest 2 (pp (thing x) <+> colon <+> pp s)

PragmaNoBind x s ->
text "At" <+> pp (srcRange x) <.> colon <+>
Expand Down

0 comments on commit 018213d

Please sign in to comment.