Skip to content

Commit

Permalink
Refactor typechecker (#612)
Browse files Browse the repository at this point in the history
  • Loading branch information
bakkot authored Sep 18, 2024
1 parent c9607b1 commit 540ad3a
Show file tree
Hide file tree
Showing 4 changed files with 773 additions and 714 deletions.
5 changes: 3 additions & 2 deletions src/Spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -526,12 +526,13 @@ export default class Spec {

this.setReplacementAlgorithmOffsets();

this.autolink();

if (this.opts.lintSpec) {
this.log('Checking types...');
typecheck(this);
}

this.autolink();

this.log('Propagating effect annotations...');
this.propagateEffects();
this.log('Annotating external links...');
Expand Down
Loading

0 comments on commit 540ad3a

Please sign in to comment.