1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
// RUN: component wit --generate-nominal-type-ids foo % --json package a:b; world foo { import other:c/x; export other:c/x; } package other:c { interface x { resource r; hi: func() -> r; } }