Skip to content

Field Syntax Reference bugs #9793

Open
Open
@augustss

Description

@augustss

In section 10, Field Syntax Reference there are many bugs.
Here are some I found today:

  • main-is: is a field for executables also
  • extra-source-files: does not require a comma
  • other-modules: does not require a comma
  • location: field is not described
  • subdir: field is not described
  • x-revision: field is not described
  • license-files: field is not described
  • cabal-version: is described to have the literal value 3.4, should be more general
  • exposed-modules: field is not described
  • nhc98-options: field is not described
  • import: field not describes

In the description of \ring and \bullet it's unclear what "spaces" means.
Is it a 0x20 character? Or can it also be a 0x0a? It seems to be the latter.

I will report more as I find them. This was from parsing a single .cabal file with my parser that follows section 10.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions