1package foo:foo;
2
3interface a {
4    variant error {
5        other(string),
6    }
7    g: func() -> result<_, error>;
8}
9
10world nope {
11    import a;
12}