Files
wit-bindgen/tests/codegen/use-across-interfaces.wit
Ryan Levick d629bc12ba Alias anon types in tiny-go (#606)
* Alias anon types in tiny-go

* Expand codegen test for anon types
2023-07-07 10:57:16 -07:00

24 lines
291 B
Plaintext

package foo:foo
interface foo {
type headers = list<tuple<string, string>>
record a {
headers: headers
}
x: func() -> a
}
interface bar {
use foo.{a}
x: func() -> a
}
world baz {
import foo
import bar
import baz: interface {
use foo.{a}
x: func() -> a
}
}