the generated Lexer.hs fails to compile with
compiler/GHC/Parser/Lexer.x:3471:12: error: [GHC-31744]
Duplicate INLINE pragmas for ‘alexScanUser’
at _build/stage0/compiler/build/GHC/Parser/Lexer.hs:1294:12-23
compiler/GHC/Parser/Lexer.x:3471:12-23
|
3471 | -- in this file, alexScanUser gets broken out into a separate function and
| ^^^^^^^^^^^^
to reproduce
git clone https://gitlab.haskell.org/ghc/ghc.git --recursive
cd ghc
./boot && ./configure
./hadrian/build --flavour=quickest -j
the generated Lexer.hs fails to compile with
to reproduce