Skip to content

Commit

Permalink
Types
Browse files Browse the repository at this point in the history
  • Loading branch information
robsimmons committed Dec 2, 2023
1 parent 29757a2 commit 7516b54
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/language/check.ts
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,7 @@ export function checkFreeVarsInDecl(decl: ParsedDeclaration): Issue[] {
function checkFunctionalPredicatesInTerm(
preds: Map<string, number>,
boundVars: Set<string>,
pattern: Pattern,
pattern: ParsedPattern,
): Issue[] {
if (pattern.type === 'const') {
const expectedNum = preds.get(pattern.name);
Expand Down Expand Up @@ -318,7 +318,6 @@ export function checkFunctionalPredicatesInDecl(
...decl.conclusion.args,
...(decl.conclusion.values ?? []),
)) {
console.log(pattern);
issues.push(...checkFunctionalPredicatesInTerm(preds, boundVars, pattern));
}
}
Expand Down

0 comments on commit 7516b54

Please sign in to comment.