package foo:bar; world module { export foo: interface { resource a { constructor(); other-new: static func() -> a; } } }