Skip to content

Support curly braces #28

Open
Open
@anka-213

Description

@anka-213

Cabal files apparently allows writing curly braces around blocks, which confuses implicit-hie. For example, this file: https://github.com/ivan-m/graphviz/blob/42dbb6312d7edf789d7055079de7b4fa099a4acc/graphviz.cabal#L59

Library {

-- ...

will generate a hie.yaml file like this

cradle:
  cabal:
    - path: "./"
      component: "graphviz:lib:{"

# ...

instead of the expected

cradle:
  cabal:
    - path: "./"
      component: "lib:graphviz"

# ...

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions