Skip to content

wkg wit output does not preserve comments in worlds #172

@wingo

Description

@wingo

Steps to reproduce:

mkdir wit
cat > wit/world.wit <<EOF
package test:test;

world test {
    include wasi:http/proxy@0.3.0-rc-2025-08-15;
}
EOF
wkg wit fetch

Expected results: wit/deps/wasi-http-0.3.0-rc-2025-08-15/package.wit contains comments for world proxy

Actual results: Comments everywhere else; nice! But no comments from inside worlds, e.g. from https://github.com/WebAssembly/wasi-http/blob/main/wit-0.3.0-draft/proxy.wit.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions