Prettier errors
This commit is contained in:
parent
e389e46852
commit
3d1cd89067
6 changed files with 313 additions and 48 deletions
|
|
@ -444,8 +444,7 @@ function recordPatternField(cursor: Cursor): FieldPattern {
|
|||
}
|
||||
|
||||
|
||||
export function parse(input: string): Result<Expr, ParseError> {
|
||||
const source = new SourceText(input);
|
||||
export function parse(source: SourceText): Result<Expr, ParseError> {
|
||||
const cursor = new Cursor(source);
|
||||
|
||||
try {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue