Skip to content

component wit -t panics with "no entry found for key" #2783

Open

Description

@rvolosatovs

component wit -t on a component like this:

(component
  (type $pkg (component
    (type $w (component
      (import "a:x/k" (instance (export "f" (func))))
      (import "a:x/l" (instance $l (export "t" (type (sub resource)))))
      (alias export $l "t" (type $lt))
      (export "a:x/k" (instance (export "g" (func (param "x" (own $lt))))))
    ))
    (export "root:component/root" (component (type $w)))
  ))
  (export "root" (type $pkg))
)

panics with:

thread 'main' (32254834) panicked at crates/wit-component/src/encoding/wit.rs:451:39:
no entry found for key

Activity

  1. added
    wasm-composeIssues related to the `wasm-compose` crate
    wit-componentIssues related to the wit-component crate
    and removed
    wasm-composeIssues related to the `wasm-compose` crate
    on Oct 20, 2026
  2. added a commit that references this issue on Oct 23, 2026
    d288445
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

    wit-componentIssues related to the wit-component crate

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions