Remove dangling debug statement in checker.ts

This commit is contained in:
Sam Vervaeck 2022-09-15 20:50:02 +02:00
parent 31e99fd8ba
commit 4939ee5e08

View file

@ -1542,7 +1542,6 @@ export class Checker {
env.add(varExpr.text, new Forall([], [], typeVar), Symkind.Type); env.add(varExpr.text, new Forall([], [], typeVar), Symkind.Type);
} }
const type = this.inferTypeExpression(node.typeExpression); const type = this.inferTypeExpression(node.typeExpression);
console.log(describeType(type));
this.popContext(context); this.popContext(context);
const scheme = new Forall(typeVars, constraints, TApp.build(type, kindArgs)); const scheme = new Forall(typeVars, constraints, TApp.build(type, kindArgs));
parentEnv.add(node.name.text, scheme, Symkind.Type); parentEnv.add(node.name.text, scheme, Symkind.Type);