Skip to content

Commit

Permalink
basic typechecking
Browse files Browse the repository at this point in the history
  • Loading branch information
bakkot committed Jan 7, 2024
1 parent 885288e commit e02b455
Show file tree
Hide file tree
Showing 5 changed files with 654 additions and 13 deletions.
1 change: 0 additions & 1 deletion src/Spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1964,4 +1964,3 @@ function isScriptNode(
): node is HTMLScriptElement {
return node.nodeName.toLowerCase() === 'script';
}

2 changes: 1 addition & 1 deletion src/expr-parser.ts
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ export type Seq = {
name: 'seq';
items: NonSeq[];
};
type NonSeq = ProsePart | List | Record | RecordSpec | Call | SDOCall | Paren | Figure;
export type NonSeq = ProsePart | List | Record | RecordSpec | Call | SDOCall | Paren | Figure;
export type Expr = NonSeq | Seq;
type Failure = { name: 'failure'; message: string; offset: number };

Expand Down
Loading

0 comments on commit e02b455

Please sign in to comment.