don't warn

This commit is contained in:
Michael Zhang 2024-11-25 21:06:35 -06:00
parent 1b728c62ab
commit d5963f23ea

View file

@ -227,7 +227,7 @@ const buildExpr = (s: string, c: TreeCursor): term => {
export const parseExpr = (s: string) => {
const tree = buildParser(parserSource("Expr"), {
typeScript: true,
warn: false,
warn: () => {},
}).parse(s);
const cursor = tree.cursor();
@ -238,7 +238,7 @@ export const parseExpr = (s: string) => {
export const parseTy = (s: string) => {
const tree = buildParser(parserSource("Ty"), {
typeScript: true,
warn: false,
warn: () => {},
}).parse(s);
const cursor = tree.cursor();