15 lines
226 B
Plaintext
15 lines
226 B
Plaintext
|
|
package root:component;
|
||
|
|
|
||
|
|
world root {
|
||
|
|
import foo: interface {
|
||
|
|
a: func() -> string;
|
||
|
|
}
|
||
|
|
|
||
|
|
export a: func(x: string) -> tuple<string, u32, string>;
|
||
|
|
export bar: interface {
|
||
|
|
a: func();
|
||
|
|
|
||
|
|
b: func() -> string;
|
||
|
|
}
|
||
|
|
}
|