dhall-lang / dhall-haskell

Maintainable configuration files
https://dhall-lang.org/
BSD 3-Clause "New" or "Revised" License
912 stars 213 forks source link

Error generating docs #2529

Closed custommonkey closed 10 months ago

custommonkey commented 1 year ago

I'm getting the following error message whilst trying to generate dhall-docs using dhall-docs --input schemas where schemas is a directory with a single file containing

{ Type = { a : { b : Text, c : Text } }, default = { a.b = "", a.c = "" } }
dhall-docs: Error Documentation generator bug

Explanation: This error message means that there is a bug in the Dhall Documentation generator. You didn't did anything wrong, but if you would like to see this problem fixed then you should report the bug at:

https://github.com/dhall-lang/dhall-haskell/issues/new?labels=dhall-docs,bug

explaining your issue and add "A `RecordField` of type `Expr Src Import` doesn't have `Just src*`" as error code so we can find the proper location in the source code where the error happened

Please, also include your package in the issue. It can be in:

* A compressed archive (zip, tar, etc)
* A git repository, preferably with a commit reference
CallStack (from HasCallStack):
  error, called at src/Dhall/Docs/Util.hs:12:5 in dhall-docs-1.0.11-48wmltkpomEBF5I2rmRqNy:Dhall.Docs.Util