I have a test to illustrate this. At trunk, when you run the test, you get this:
Diff < left / right > :
package foo:bar;
world the-world {
export the-interface: interface {
> use types.{ the-type as the-import };
the-function: func(the-parameter: the-import);
}
}
interface types {
record the-type { }
}
Indicating that the statement inline_interface.use_type("types", "the-type", Some(Ident::from("the-import"))) on line 31 is effectively being ignored.
Drafting up a fix.