Skip to content

Commit 03234e8

Browse files
chore: fix sorbet config comment, trailing newline, and blank lines in hidden.rbi
1 parent 8f9b4a5 commit 03234e8

2 files changed

Lines changed: 5 additions & 3 deletions

File tree

sorbet/config

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,8 @@
11
--dir
22
.
33
--ignore=vendor/bundle,spec,sorbet/rbi/sorbet-typed
4-
--disable-watchman
4+
# sorbet/rbi/sorbet-typed contains community stubs generated for Sorbet 0.5.
5+
# Sorbet 0.6 defaults unsigned RBI files to typed: strict, causing 7017 errors
6+
# in these stale stubs. They cover dev tools (rake, rspec, rubocop) that don't
7+
# need type checking. Migrate to Tapioca in a follow-up to replace all stubs.
8+
--disable-watchman

sorbet/rbi/hidden-definitions/hidden.rbi

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4607,7 +4607,6 @@ class Gem::SpecFetcher
46074607

46084608
def specs(); end
46094609

4610-
46114610
def tuples_for(source, type, gracefully_ignore=T.unsafe(nil)); end
46124611
end
46134612

@@ -4727,7 +4726,6 @@ class IO
47274726

47284727
def wait(*arg); end
47294728

4730-
47314729
def wait_writable(*arg); end
47324730
end
47334731

0 commit comments

Comments
 (0)