Skip to content

Commit

Permalink
Better panic message, indicating that it's not the user's fault (#186)
Browse files Browse the repository at this point in the history
  • Loading branch information
sgraf812 committed Sep 20, 2024
1 parent eb90467 commit e375dd5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/data/HappyTemplate.hs
Original file line number Diff line number Diff line change
Expand Up @@ -251,7 +251,7 @@ happyFail explist i tk action sts stk =
-- Internal happy errors:

notHappyAtAll :: a
notHappyAtAll = Prelude.error "Internal Happy error\n"
notHappyAtAll = Prelude.error "Internal Happy parser panic. This is not supposed to happen! Please open a bug report at https://github.com/haskell/happy/issues.\n"

-----------------------------------------------------------------------------
-- Hack to get the typechecker to accept our action functions
Expand Down

0 comments on commit e375dd5

Please sign in to comment.