Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Verbatim imports put at bottom of stanza first time #522

@brandon-leapyear

Description

@brandon-leapyear

#490 moves import lines to the top of the stanza, but it only happens the first time hpack is called.

Repro:

  1. Run rm *.cabal
  2. Add verbatim: { import: ... } line to a stanza
  3. Run hpack
  4. Cabal file incorrectly has import line at bottom
  5. Run hpack again
  6. Cabal file correctly has import line moved to top

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions