Skip to content

Commit

Permalink
Test for #220
Browse files Browse the repository at this point in the history
  • Loading branch information
andreasabel committed Dec 30, 2023
1 parent ff5b1b8 commit ca5ae8d
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions tests/monadUserState_typeclass_bytestring.x
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,12 @@ lex inp =
let
lexAll =
do

-- Andreas Abel, 2023-12-30, issue #220:
-- Test that alex{G,S}etUserState are in scope.
u <- alexGetUserState
alexSetUserState (u + 1)

res <- alexMonadScan
case res of
EOF -> return []
Expand Down

0 comments on commit ca5ae8d

Please sign in to comment.