Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
bytecodealliance
GitHub Repository: bytecodealliance/wasmtime
Path: blob/main/crates/component-macro/tests/codegen/use-paths.wit
1692 views
package foo:foo;

interface a {
  record foo {}

  a: func() -> foo;
}

interface b {
  use a.{foo};

  a: func() -> foo;
}

interface c {
  use b.{foo};

  a: func() -> foo;
}

world d {
  import a;
  import b;
  import d: interface {
    use c.{foo};

    b: func() -> foo;
  }
}