package foo:bar; interface foo { resource a { } resource b { constructor(); } resource c { constructor(x: u32); } resource d { constructor(x: u32); a: func(); b: static func(); } resource e { constructor(other: own, other2: borrow); method: func(thing: own, thing2: borrow); } } world w { resource a; resource b { } resource c { constructor(); } } interface i { resource a; type t1 = a; type t2 = borrow; type t3 = borrow; }