diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 2c279f2f22..6b3888f57d 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -51,8 +51,8 @@ jobs: with: ruby-version: "3.4" bundler-cache: true - # - name: Check Sorbet - # run: bundle exec rake typecheck:tapioca typecheck:sorbet + - name: Check Sorbet + run: bundle exec rake typecheck:tapioca typecheck:sorbet - name: Check Steep run: bundle exec rake typecheck:steep - name: Check field kinds diff --git a/rakelib/check_manifest.rake b/rakelib/check_manifest.rake index ff88543fa9..4c53b963ec 100644 --- a/rakelib/check_manifest.rake +++ b/rakelib/check_manifest.rake @@ -55,8 +55,8 @@ task check_manifest: :templates do compile_commands.json include/prism/config.h lib/prism/prism.{so,bundle,jar} - sig/_*/*.rbs - sig/**/_*/*.rbs + rbi/_shims/*.rbi + sig/_shims/*.rbs tags ] diff --git a/rbi/_shims/spoom.rbi b/rbi/_shims/spoom.rbi new file mode 100644 index 0000000000..13a99fef45 --- /dev/null +++ b/rbi/_shims/spoom.rbi @@ -0,0 +1,11 @@ +# typed: strict + +# Spoom hasn't yet adopted ErrorRecoveryNode +module Prism + class MissingNode < Node; end + + class Visitor + sig { params(node: MissingNode).void } + def visit_missing_node(node); end + end +end