Avi-D-coder / implicit-hie

Auto generate a stack or cabal multi component hie.yaml file
BSD 3-Clause "New" or "Revised" License
201 stars 17 forks source link

Fix bug where freeform fields can be misinterpreted as data #38

Closed Ptival closed 3 years ago

Ptival commented 3 years ago

Suggested change for solving #37

Would it make sense to just skipBlock on any field? 🤔

jneira commented 3 years ago

Thanks for the pr :slightly_smiling_face:

Would it make sense to just skipBlock on any field? thinking

I would say that is the case, is it possible to skip only fields in a reliable way?

It would be nice to have a regression test with the concrete case which triggered the bug.

jneira commented 3 years ago

ci is validating the formatting of files with ormolu :shrug:

Avi-D-coder commented 3 years ago

Thanks