Skip to content

Commit

Permalink
Fix root namespace
Browse files Browse the repository at this point in the history
  • Loading branch information
dduugg authored and apainintheneck committed Mar 19, 2024
1 parent 4692948 commit 457e989
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions Library/Homebrew/sorbet/tapioca/compilers/args.rb
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,11 @@ class Args < Tapioca::Dsl::Compiler

# FIXME: Enable cop again when https://github.com/sorbet/sorbet/issues/3532 is fixed.
# rubocop:disable Style/MutableConstant
ConstantType = type_member { { fixed: Module } }
ConstantType = type_member { { fixed: T.class_of(Homebrew::CLI::Args) } }
# rubocop:enable Style/MutableConstant

sig { override.returns(T::Enumerable[Module]) }
def self.gather_constants = [Homebrew]
sig { override.returns(T::Enumerable[T.class_of(Homebrew::CLI::Args)]) }
def self.gather_constants = [Homebrew::CLI::Args]

sig { override.void }
def decorate
Expand Down

0 comments on commit 457e989

Please sign in to comment.