You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
jukebox-0.5.4 broke with GHC 9.4 because a new export Symbol form GHC.Exts clashes with a user-defined identifier of the same name. This is pretty bad, as it is inconvenient for the user to work around this.
Unqualified imports in generated code are just a ticking time bomb. It makes packages using Alex brittle. (And there is no material need for unqualified imports.)
The way forward here is to change Alex so that all its identifiers it imports are used qualified, so that there is no risk of clashing with user-defined identifiers.
## Changes in 3.5.1.0
* Drop generating output for GHC < 6.4.
* Use qualified imports in generated code (except for `Prelude`)
([Issue #258](haskell/alex#258)).
* Suppress warnings `tabs` and `unused-imports` for generated code
([Issue #255](haskell/alex#255)).
* Tested with GHC 8.0 - 9.8.2.
## Changes in 3.5.0.0
* Add option `--numeric-version`.
* Remove deprecated `-v` as alias for `--version`.
* Add `-v` as placeholder for a future `--verbose` option.
* Make `alex{G,S}etUserState` available with the `monadUserState-bytestring` wrapper
([Issue #220](haskell/alex#220)).
* Debugging lexer: print character in addition to its ASCII code
([PR #252](haskell/alex#252)).
* Tested with GHC 8.0 - 9.8.1.
jukebox-0.5.4
broke with GHC 9.4 because a new exportSymbol
formGHC.Exts
clashes with a user-defined identifier of the same name. This is pretty bad, as it is inconvenient for the user to work around this.jukebox-0.5.4
lack proper bounds for its dependencies nick8325/jukebox#6 (comment)Unqualified imports in generated code are just a ticking time bomb. It makes packages using
Alex
brittle. (And there is no material need for unqualified imports.)The way forward here is to change Alex so that all its identifiers it imports are used qualified, so that there is no risk of clashing with user-defined identifiers.
See a parallel effort in BNFC:
The text was updated successfully, but these errors were encountered: