diff --git a/src/parser.ts b/src/parser.ts index c2cd626..3ceb439 100644 --- a/src/parser.ts +++ b/src/parser.ts @@ -349,13 +349,9 @@ export class Parser { expr = { kind: 'record-access', record: expr, field }; } } else if (this.current().kind === 'open-brace') { - // if (expr.kind === 'constructor') { - // Function / constructor application - const record = this.parsePrimary(); - expr = { kind: 'apply', func: expr, args: [record] }; - // } else { - // break; - // } + // Function / constructor application + const record = this.parsePrimary(); + expr = { kind: 'apply', func: expr, args: [record] }; } else { break; }