This follows the same strategy pioneered by the `wit-bindgen` guest Rust bindgen which keeps track of the latest name of an interface for how to refer to an interface. Closes #5961
15 lines
186 B
Plaintext
15 lines
186 B
Plaintext
interface red {
|
|
use self.green.{thing}
|
|
|
|
foo: func() -> thing
|
|
}
|
|
|
|
interface green {
|
|
type thing = s32
|
|
}
|
|
|
|
default world neptune {
|
|
import blue: self.red
|
|
import orange: self.green
|
|
}
|