Merge pull request #17387 from Homebrew/dependabot/bundler/Library/Homebrew/multi-8dc932cc2b

build(deps): bump sorbet-static-and-runtime and sorbet-runtime in /Library/Homebrew
This commit is contained in:
Mike McQuaid 2024-05-29 17:17:47 +01:00 committed by GitHub
commit 443e4e5dac
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
89 changed files with 25 additions and 15 deletions

View File

@ -126,15 +126,15 @@ GEM
simplecov-html (0.12.3)
simplecov_json_formatter (0.1.4)
simpleidn (0.2.3)
sorbet (0.5.11391)
sorbet-static (= 0.5.11391)
sorbet-runtime (0.5.11391)
sorbet-static (0.5.11391-aarch64-linux)
sorbet-static (0.5.11391-universal-darwin)
sorbet-static (0.5.11391-x86_64-linux)
sorbet-static-and-runtime (0.5.11391)
sorbet (= 0.5.11391)
sorbet-runtime (= 0.5.11391)
sorbet (0.5.11394)
sorbet-static (= 0.5.11394)
sorbet-runtime (0.5.11394)
sorbet-static (0.5.11394-aarch64-linux)
sorbet-static (0.5.11394-universal-darwin)
sorbet-static (0.5.11394-x86_64-linux)
sorbet-static-and-runtime (0.5.11394)
sorbet (= 0.5.11394)
sorbet-runtime (= 0.5.11394)
spoom (1.3.2)
erubi (>= 1.10.0)
prism (>= 0.19.0)

View File

@ -72,7 +72,7 @@ $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version
$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/racc-1.8.0/lib")
$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/parser-3.3.1.0/lib")
$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/rainbow-3.1.1/lib")
$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/sorbet-runtime-0.5.11391/lib")
$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/sorbet-runtime-0.5.11394/lib")
$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/parlour-8.1.0/lib")
$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/patchelf-1.5.1/lib")
$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/plist-3.7.1/lib")
@ -109,9 +109,9 @@ $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version
$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/simplecov_json_formatter-0.1.4/lib")
$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/simplecov-0.22.0/lib")
$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/simplecov-cobertura-2.1.0/lib")
$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/sorbet-static-0.5.11391-universal-darwin/lib")
$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/sorbet-0.5.11391/lib")
$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/sorbet-static-and-runtime-0.5.11391/lib")
$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/sorbet-static-0.5.11394-universal-darwin/lib")
$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/sorbet-0.5.11394/lib")
$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/sorbet-static-and-runtime-0.5.11394/lib")
$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/thor-1.3.1/lib")
$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/spoom-1.3.2/lib")
$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/extensions/arm64-darwin-20/#{Gem.extension_api_version}/stackprof-0.2.26")

View File

@ -291,11 +291,21 @@ module T::Private::Methods::CallValidation
def self.report_error(method_sig, error_message, kind, name, type, value, caller_offset: 0)
caller_loc = T.must(caller_locations(3 + caller_offset, 1))[0]
definition_file, definition_line = method_sig.method.source_location
method = method_sig.method
definition_file, definition_line = method.source_location
owner = method.owner
pretty_method_name =
if owner.singleton_class? && owner.respond_to?(:attached_object)
# attached_object is new in Ruby 3.2
"#{owner.attached_object}.#{method.name}"
else
"#{owner}##{method.name}"
end
pretty_message = "#{kind}#{name ? " '#{name}'" : ''}: #{error_message}\n" \
"Caller: #{caller_loc.path}:#{caller_loc.lineno}\n" \
"Definition: #{definition_file}:#{definition_line}"
"Definition: #{definition_file}:#{definition_line} (#{pretty_method_name})"
T::Configuration.call_validation_error_handler(
method_sig,