Build composable Camino packages with explicit type and source dependencies
This commit is contained in:
@@ -296,7 +296,11 @@ export const parseQuixosLockDocument = (source: string, fileName = "<memory>"):
|
||||
const resources: LockedResource[] = [];
|
||||
const bindings = new Set<string>();
|
||||
for (const [index, context] of tree.resourceEntry().entries()) {
|
||||
const kind = context.resourceKind().INTERFACE() ? "interface" : "package";
|
||||
const kind = context.resourceKind().INTERFACE()
|
||||
? "interface"
|
||||
: context.resourceKind().BUILD()
|
||||
? "build"
|
||||
: "package";
|
||||
const binding = context.identifier().getText();
|
||||
const key = `${kind}\0${binding}`;
|
||||
if (bindings.has(key)) {
|
||||
|
||||
Reference in New Issue
Block a user