Skip to content

Commit 3b36e8b

Browse files
committed
move autolink below typecheck so typecheck runs sooner
1 parent 51095be commit 3b36e8b

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/Spec.ts

+3-2
Original file line numberDiff line numberDiff line change
@@ -526,12 +526,13 @@ export default class Spec {
526526

527527
this.setReplacementAlgorithmOffsets();
528528

529-
this.autolink();
530-
531529
if (this.opts.lintSpec) {
532530
this.log('Checking types...');
533531
typecheck(this);
534532
}
533+
534+
this.autolink();
535+
535536
this.log('Propagating effect annotations...');
536537
this.propagateEffects();
537538
this.log('Annotating external links...');

0 commit comments

Comments
 (0)