Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Weeder crashes #78

Open
pjljvandelaar opened this issue Jul 29, 2021 · 0 comments
Open

Weeder crashes #78

pjljvandelaar opened this issue Jul 29, 2021 · 0 comments

Comments

@pjljvandelaar
Copy link

Dear Developers,

When using Weeder

PS C:\TorXakis\TorXakis.RefactorAll> weeder --version
2.1.3

with

PS C:\TorXakis\TorXakis.RefactorAll>  more .\weeder.dhall
{ roots = [ "^Main.main$" ], type-class-roots = True }

on the project at https://github.com/TorXakis/TorXakis/tree/refactor/All
which was build using stack using the resolver and ghc-options

resolver: lts-18.4
ghc-options:
  "$locals": -fwrite-ide-info

I get

PS C:\TorXakis\TorXakis.RefactorAll> weeder
.stack-work\dist\274b403a\build\TorXakis\Regex\RegexFromXsdAlex.hs:78:1: error: alexGetByte is unused

      76 weeder.exe: <stdout>: commitBuffer: invalid argument (invalid character)

I don't know whether the issue is in the generated Alex file.
But the source is available at: https://github.com/TorXakis/TorXakis/blob/refactor/All/sys/txs-regex/src/TorXakis/Regex/RegexFromXsdAlex.x

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant