package test:resource-borrow-in-record; interface test { resource thing { constructor(s: string); get: func() -> string; } record foo { thing: borrow } test: func(a: list) -> list; } world resource-borrow-in-record { import test; export test; }