cleaning
This commit is contained in:
parent
d55ae33848
commit
5af3af6b6c
1 changed files with 3 additions and 7 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue