When compiling top level stuff put it in a store record, don't const them. More cleaning

This commit is contained in:
Dustin Swan 2026-04-02 16:58:33 -06:00
parent a1caaf54e7
commit 13d582419e
No known key found for this signature in database
GPG key ID: 30D46587E2100467
4 changed files with 14 additions and 42 deletions

View file

@ -652,8 +652,6 @@ export class Parser {
kind === 'open-paren' || kind === 'open-brace';
}
private parsedConstraints: { className: string, typeVar: string }[] = [];
private parseType(): TypeAST {
// Check for constraints: Num a, Eq b :: <type>
const left = this.parseTypeApply();