Skip to content

wit-parser: Doc comments on interface imports/export world items are discarded #2294

Open

Description

@lann
interface i {}

world w {
  /// this is lost
  import i;
}

These comments are discarded during parsing, meaning e.g. this doesn't survive a round-trip through binary WIT encoding.

I spent a little time trying to fix this but I think it needs a breaking change to the package metadata serialization format.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    witrelated to the `*.wit` text format

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions