Closed trofi closed 8 years ago
@trofi Is is possible to narrow down exactly what in that file is causing problems? I'm thinking that such a very much reduced example should end up in the tests.
I expect any lexer that uses alexScanUser
style
will break (alex has no tests/ or examples/ for alexScanUser
).
Will try to write example (and a fix) today.
Added lexer test: https://github.com/simonmar/alex/pull/99 It triggered the same build failure.
https://github.com/simonmar/alex/commit/00431304aa18ada0a12aab43443023a86521f353 added explicit type signature for
alex_accept
:and GHC relies it to be user-defined:
alex-3.2.0 generates the following alex_accept:
Removing explicit type signature makes lexer build fine.
Adding @emc2 for visibility.