From 0cf86fa62b71189530e70395a2a148a73d269d91 Mon Sep 17 00:00:00 2001 From: BrewTestBot <1589480+BrewTestBot@users.noreply.github.com> Date: Tue, 11 Jul 2023 00:28:30 +0000 Subject: [PATCH 1/3] sorbet: Update RBI files. Autogenerated by the [sorbet](https://github.com/Homebrew/brew/blob/master/.github/workflows/sorbet.yml) workflow. --- Library/Homebrew/sorbet/rbi/parlour.rbi | 3 --- 1 file changed, 3 deletions(-) diff --git a/Library/Homebrew/sorbet/rbi/parlour.rbi b/Library/Homebrew/sorbet/rbi/parlour.rbi index 5151b1402a..78d49f163e 100644 --- a/Library/Homebrew/sorbet/rbi/parlour.rbi +++ b/Library/Homebrew/sorbet/rbi/parlour.rbi @@ -244,9 +244,6 @@ end module MachOShim sig { params(args: T.untyped, options: T.untyped, block: T.untyped).returns(T.untyped) } def dylib_id(*args, **options, &block); end - - sig { params(args: T.untyped, options: T.untyped, block: T.untyped).returns(T.untyped) } - def rpaths(*args, **options, &block); end end class PkgVersion From 88a14c644c8a8c99a96b0ef87188c421eccbcc6f Mon Sep 17 00:00:00 2001 From: Carlo Cabrera <30379873+carlocab@users.noreply.github.com> Date: Tue, 11 Jul 2023 22:49:06 +0800 Subject: [PATCH 2/3] os/mac/mach: fix type-checking error --- Library/Homebrew/os/mac/mach.rbi | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Library/Homebrew/os/mac/mach.rbi b/Library/Homebrew/os/mac/mach.rbi index 54bb844d78..74fcd8ad57 100644 --- a/Library/Homebrew/os/mac/mach.rbi +++ b/Library/Homebrew/os/mac/mach.rbi @@ -2,4 +2,6 @@ module MachOShim include Kernel + + def dirname; end end From 38c00934d64be535a5c64076c2640d89d6a63b4a Mon Sep 17 00:00:00 2001 From: Carlo Cabrera <30379873+carlocab@users.noreply.github.com> Date: Wed, 12 Jul 2023 01:24:19 +0800 Subject: [PATCH 3/3] os/mac/mach: better typechecking fix Co-authored-by: Douglas Eichelberger --- Library/Homebrew/os/mac/mach.rbi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Library/Homebrew/os/mac/mach.rbi b/Library/Homebrew/os/mac/mach.rbi index 74fcd8ad57..0fbefdff4c 100644 --- a/Library/Homebrew/os/mac/mach.rbi +++ b/Library/Homebrew/os/mac/mach.rbi @@ -3,5 +3,5 @@ module MachOShim include Kernel - def dirname; end + requires_ancestor { Pathname } end