From 7744ccd57c7c93e4dce9f66a03a6e844aa9ccdbd Mon Sep 17 00:00:00 2001 From: Bo Anderson Date: Thu, 6 Oct 2022 17:43:48 +0100 Subject: [PATCH] brew vendor-gems: commit updates. --- Library/Homebrew/Gemfile.lock | 14 +- .../Homebrew/vendor/bundle/bundler/setup.rb | 8 +- .../lib/sorbet-runtime.rb | 0 .../lib/types/_types.rb | 8 +- .../lib/types/abstract_utils.rb | 0 .../lib/types/boolean.rb | 0 .../lib/types/compatibility_patches.rb | 0 .../lib/types/configuration.rb | 0 .../lib/types/enum.rb | 0 .../lib/types/generic.rb | 0 .../lib/types/helpers.rb | 7 + .../lib/types/interface_wrapper.rb | 4 + .../lib/types/non_forcing_constants.rb | 0 .../lib/types/private/abstract/data.rb | 0 .../lib/types/private/abstract/declare.rb | 0 .../lib/types/private/abstract/hooks.rb | 0 .../lib/types/private/abstract/validate.rb | 0 .../lib/types/private/casts.rb | 4 +- .../lib/types/private/class_utils.rb | 27 +++- .../lib/types/private/compiler.rb | 0 .../lib/types/private/decl_state.rb | 0 .../lib/types/private/final.rb | 0 .../lib/types/private/methods/_methods.rb | 0 .../types/private/methods/call_validation.rb | 22 ++- .../private/methods/call_validation_2_6.rb | 128 +++++++++--------- .../private/methods/call_validation_2_7.rb | 128 +++++++++--------- .../lib/types/private/methods/decl_builder.rb | 0 .../lib/types/private/methods/modes.rb | 0 .../lib/types/private/methods/signature.rb | 0 .../private/methods/signature_validation.rb | 0 .../lib/types/private/mixins/mixins.rb | 0 .../lib/types/private/retry.rb | 0 .../lib/types/private/runtime_levels.rb | 0 .../lib/types/private/sealed.rb | 0 .../lib/types/private/types/not_typed.rb | 0 .../lib/types/private/types/string_holder.rb | 0 .../lib/types/private/types/type_alias.rb | 0 .../lib/types/private/types/void.rb | 0 .../lib/types/props/_props.rb | 0 .../lib/types/props/constructor.rb | 0 .../lib/types/props/custom_type.rb | 0 .../lib/types/props/decorator.rb | 4 +- .../lib/types/props/errors.rb | 0 .../types/props/generated_code_validation.rb | 0 .../props/has_lazily_specialized_methods.rb | 0 .../lib/types/props/optional.rb | 0 .../lib/types/props/plugin.rb | 0 .../lib/types/props/pretty_printable.rb | 0 .../lib/types/props/private/apply_default.rb | 0 .../props/private/deserializer_generator.rb | 0 .../lib/types/props/private/parser.rb | 0 .../types/props/private/serde_transform.rb | 0 .../props/private/serializer_generator.rb | 0 .../lib/types/props/private/setter_factory.rb | 0 .../lib/types/props/serializable.rb | 0 .../lib/types/props/type_validation.rb | 0 .../lib/types/props/utils.rb | 0 .../lib/types/props/weak_constructor.rb | 0 .../lib/types/sig.rb | 0 .../lib/types/struct.rb | 0 .../lib/types/types/attached_class.rb | 0 .../lib/types/types/base.rb | 0 .../lib/types/types/class_of.rb | 0 .../lib/types/types/enum.rb | 0 .../lib/types/types/fixed_array.rb | 0 .../lib/types/types/fixed_hash.rb | 0 .../lib/types/types/intersection.rb | 2 +- .../lib/types/types/noreturn.rb | 0 .../lib/types/types/proc.rb | 0 .../lib/types/types/self_type.rb | 0 .../lib/types/types/simple.rb | 0 .../lib/types/types/t_enum.rb | 0 .../lib/types/types/type_member.rb | 0 .../lib/types/types/type_parameter.rb | 0 .../lib/types/types/type_template.rb | 0 .../lib/types/types/type_variable.rb | 0 .../lib/types/types/typed_array.rb | 0 .../lib/types/types/typed_enumerable.rb | 0 .../lib/types/types/typed_enumerator.rb | 0 .../lib/types/types/typed_enumerator_lazy.rb | 0 .../lib/types/types/typed_hash.rb | 0 .../lib/types/types/typed_range.rb | 0 .../lib/types/types/typed_set.rb | 0 .../lib/types/types/union.rb | 0 .../lib/types/types/untyped.rb | 0 .../lib/types/utils.rb | 2 +- 86 files changed, 192 insertions(+), 166 deletions(-) rename Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/{sorbet-runtime-0.5.10175 => sorbet-runtime-0.5.10461}/lib/sorbet-runtime.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/{sorbet-runtime-0.5.10175 => sorbet-runtime-0.5.10461}/lib/types/_types.rb (97%) rename Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/{sorbet-runtime-0.5.10175 => sorbet-runtime-0.5.10461}/lib/types/abstract_utils.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/{sorbet-runtime-0.5.10175 => sorbet-runtime-0.5.10461}/lib/types/boolean.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/{sorbet-runtime-0.5.10175 => sorbet-runtime-0.5.10461}/lib/types/compatibility_patches.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/{sorbet-runtime-0.5.10175 => sorbet-runtime-0.5.10461}/lib/types/configuration.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/{sorbet-runtime-0.5.10175 => sorbet-runtime-0.5.10461}/lib/types/enum.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/{sorbet-runtime-0.5.10175 => sorbet-runtime-0.5.10461}/lib/types/generic.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/{sorbet-runtime-0.5.10175 => sorbet-runtime-0.5.10461}/lib/types/helpers.rb (83%) rename Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/{sorbet-runtime-0.5.10175 => sorbet-runtime-0.5.10461}/lib/types/interface_wrapper.rb (97%) rename Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/{sorbet-runtime-0.5.10175 => sorbet-runtime-0.5.10461}/lib/types/non_forcing_constants.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/{sorbet-runtime-0.5.10175 => sorbet-runtime-0.5.10461}/lib/types/private/abstract/data.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/{sorbet-runtime-0.5.10175 => sorbet-runtime-0.5.10461}/lib/types/private/abstract/declare.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/{sorbet-runtime-0.5.10175 => sorbet-runtime-0.5.10461}/lib/types/private/abstract/hooks.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/{sorbet-runtime-0.5.10175 => sorbet-runtime-0.5.10461}/lib/types/private/abstract/validate.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/{sorbet-runtime-0.5.10175 => sorbet-runtime-0.5.10461}/lib/types/private/casts.rb (93%) rename Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/{sorbet-runtime-0.5.10175 => sorbet-runtime-0.5.10461}/lib/types/private/class_utils.rb (84%) rename Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/{sorbet-runtime-0.5.10175 => sorbet-runtime-0.5.10461}/lib/types/private/compiler.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/{sorbet-runtime-0.5.10175 => sorbet-runtime-0.5.10461}/lib/types/private/decl_state.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/{sorbet-runtime-0.5.10175 => sorbet-runtime-0.5.10461}/lib/types/private/final.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/{sorbet-runtime-0.5.10175 => sorbet-runtime-0.5.10461}/lib/types/private/methods/_methods.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/{sorbet-runtime-0.5.10175 => sorbet-runtime-0.5.10461}/lib/types/private/methods/call_validation.rb (94%) rename Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/{sorbet-runtime-0.5.10175 => sorbet-runtime-0.5.10461}/lib/types/private/methods/call_validation_2_6.rb (87%) rename Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/{sorbet-runtime-0.5.10175 => sorbet-runtime-0.5.10461}/lib/types/private/methods/call_validation_2_7.rb (87%) rename Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/{sorbet-runtime-0.5.10175 => sorbet-runtime-0.5.10461}/lib/types/private/methods/decl_builder.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/{sorbet-runtime-0.5.10175 => sorbet-runtime-0.5.10461}/lib/types/private/methods/modes.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/{sorbet-runtime-0.5.10175 => sorbet-runtime-0.5.10461}/lib/types/private/methods/signature.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/{sorbet-runtime-0.5.10175 => sorbet-runtime-0.5.10461}/lib/types/private/methods/signature_validation.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/{sorbet-runtime-0.5.10175 => sorbet-runtime-0.5.10461}/lib/types/private/mixins/mixins.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/{sorbet-runtime-0.5.10175 => sorbet-runtime-0.5.10461}/lib/types/private/retry.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/{sorbet-runtime-0.5.10175 => sorbet-runtime-0.5.10461}/lib/types/private/runtime_levels.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/{sorbet-runtime-0.5.10175 => sorbet-runtime-0.5.10461}/lib/types/private/sealed.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/{sorbet-runtime-0.5.10175 => sorbet-runtime-0.5.10461}/lib/types/private/types/not_typed.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/{sorbet-runtime-0.5.10175 => sorbet-runtime-0.5.10461}/lib/types/private/types/string_holder.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/{sorbet-runtime-0.5.10175 => sorbet-runtime-0.5.10461}/lib/types/private/types/type_alias.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/{sorbet-runtime-0.5.10175 => sorbet-runtime-0.5.10461}/lib/types/private/types/void.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/{sorbet-runtime-0.5.10175 => sorbet-runtime-0.5.10461}/lib/types/props/_props.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/{sorbet-runtime-0.5.10175 => sorbet-runtime-0.5.10461}/lib/types/props/constructor.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/{sorbet-runtime-0.5.10175 => sorbet-runtime-0.5.10461}/lib/types/props/custom_type.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/{sorbet-runtime-0.5.10175 => sorbet-runtime-0.5.10461}/lib/types/props/decorator.rb (98%) rename Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/{sorbet-runtime-0.5.10175 => sorbet-runtime-0.5.10461}/lib/types/props/errors.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/{sorbet-runtime-0.5.10175 => sorbet-runtime-0.5.10461}/lib/types/props/generated_code_validation.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/{sorbet-runtime-0.5.10175 => sorbet-runtime-0.5.10461}/lib/types/props/has_lazily_specialized_methods.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/{sorbet-runtime-0.5.10175 => sorbet-runtime-0.5.10461}/lib/types/props/optional.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/{sorbet-runtime-0.5.10175 => sorbet-runtime-0.5.10461}/lib/types/props/plugin.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/{sorbet-runtime-0.5.10175 => sorbet-runtime-0.5.10461}/lib/types/props/pretty_printable.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/{sorbet-runtime-0.5.10175 => sorbet-runtime-0.5.10461}/lib/types/props/private/apply_default.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/{sorbet-runtime-0.5.10175 => sorbet-runtime-0.5.10461}/lib/types/props/private/deserializer_generator.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/{sorbet-runtime-0.5.10175 => sorbet-runtime-0.5.10461}/lib/types/props/private/parser.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/{sorbet-runtime-0.5.10175 => sorbet-runtime-0.5.10461}/lib/types/props/private/serde_transform.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/{sorbet-runtime-0.5.10175 => sorbet-runtime-0.5.10461}/lib/types/props/private/serializer_generator.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/{sorbet-runtime-0.5.10175 => sorbet-runtime-0.5.10461}/lib/types/props/private/setter_factory.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/{sorbet-runtime-0.5.10175 => sorbet-runtime-0.5.10461}/lib/types/props/serializable.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/{sorbet-runtime-0.5.10175 => sorbet-runtime-0.5.10461}/lib/types/props/type_validation.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/{sorbet-runtime-0.5.10175 => sorbet-runtime-0.5.10461}/lib/types/props/utils.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/{sorbet-runtime-0.5.10175 => sorbet-runtime-0.5.10461}/lib/types/props/weak_constructor.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/{sorbet-runtime-0.5.10175 => sorbet-runtime-0.5.10461}/lib/types/sig.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/{sorbet-runtime-0.5.10175 => sorbet-runtime-0.5.10461}/lib/types/struct.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/{sorbet-runtime-0.5.10175 => sorbet-runtime-0.5.10461}/lib/types/types/attached_class.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/{sorbet-runtime-0.5.10175 => sorbet-runtime-0.5.10461}/lib/types/types/base.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/{sorbet-runtime-0.5.10175 => sorbet-runtime-0.5.10461}/lib/types/types/class_of.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/{sorbet-runtime-0.5.10175 => sorbet-runtime-0.5.10461}/lib/types/types/enum.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/{sorbet-runtime-0.5.10175 => sorbet-runtime-0.5.10461}/lib/types/types/fixed_array.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/{sorbet-runtime-0.5.10175 => sorbet-runtime-0.5.10461}/lib/types/types/fixed_hash.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/{sorbet-runtime-0.5.10175 => sorbet-runtime-0.5.10461}/lib/types/types/intersection.rb (94%) rename Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/{sorbet-runtime-0.5.10175 => sorbet-runtime-0.5.10461}/lib/types/types/noreturn.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/{sorbet-runtime-0.5.10175 => sorbet-runtime-0.5.10461}/lib/types/types/proc.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/{sorbet-runtime-0.5.10175 => sorbet-runtime-0.5.10461}/lib/types/types/self_type.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/{sorbet-runtime-0.5.10175 => sorbet-runtime-0.5.10461}/lib/types/types/simple.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/{sorbet-runtime-0.5.10175 => sorbet-runtime-0.5.10461}/lib/types/types/t_enum.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/{sorbet-runtime-0.5.10175 => sorbet-runtime-0.5.10461}/lib/types/types/type_member.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/{sorbet-runtime-0.5.10175 => sorbet-runtime-0.5.10461}/lib/types/types/type_parameter.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/{sorbet-runtime-0.5.10175 => sorbet-runtime-0.5.10461}/lib/types/types/type_template.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/{sorbet-runtime-0.5.10175 => sorbet-runtime-0.5.10461}/lib/types/types/type_variable.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/{sorbet-runtime-0.5.10175 => sorbet-runtime-0.5.10461}/lib/types/types/typed_array.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/{sorbet-runtime-0.5.10175 => sorbet-runtime-0.5.10461}/lib/types/types/typed_enumerable.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/{sorbet-runtime-0.5.10175 => sorbet-runtime-0.5.10461}/lib/types/types/typed_enumerator.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/{sorbet-runtime-0.5.10175 => sorbet-runtime-0.5.10461}/lib/types/types/typed_enumerator_lazy.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/{sorbet-runtime-0.5.10175 => sorbet-runtime-0.5.10461}/lib/types/types/typed_hash.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/{sorbet-runtime-0.5.10175 => sorbet-runtime-0.5.10461}/lib/types/types/typed_range.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/{sorbet-runtime-0.5.10175 => sorbet-runtime-0.5.10461}/lib/types/types/typed_set.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/{sorbet-runtime-0.5.10175 => sorbet-runtime-0.5.10461}/lib/types/types/union.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/{sorbet-runtime-0.5.10175 => sorbet-runtime-0.5.10461}/lib/types/types/untyped.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/{sorbet-runtime-0.5.10175 => sorbet-runtime-0.5.10461}/lib/types/utils.rb (98%) diff --git a/Library/Homebrew/Gemfile.lock b/Library/Homebrew/Gemfile.lock index c5142f3fb9..abb5a04223 100644 --- a/Library/Homebrew/Gemfile.lock +++ b/Library/Homebrew/Gemfile.lock @@ -159,13 +159,13 @@ GEM simplecov (~> 0.19) simplecov-html (0.12.3) simplecov_json_formatter (0.1.4) - sorbet (0.5.10175) - sorbet-static (= 0.5.10175) - sorbet-runtime (0.5.10175) - sorbet-static (0.5.10175-universal-darwin-14) - sorbet-static-and-runtime (0.5.10175) - sorbet (= 0.5.10175) - sorbet-runtime (= 0.5.10175) + sorbet (0.5.10461) + sorbet-static (= 0.5.10461) + sorbet-runtime (0.5.10461) + sorbet-static (0.5.10461-universal-darwin-14) + sorbet-static-and-runtime (0.5.10461) + sorbet (= 0.5.10461) + sorbet-runtime (= 0.5.10461) spoom (1.1.11) sorbet (>= 0.5.9204) sorbet-runtime (>= 0.5.9204) diff --git a/Library/Homebrew/vendor/bundle/bundler/setup.rb b/Library/Homebrew/vendor/bundle/bundler/setup.rb index 7ddf43f7bd..fd2aa0ee80 100644 --- a/Library/Homebrew/vendor/bundle/bundler/setup.rb +++ b/Library/Homebrew/vendor/bundle/bundler/setup.rb @@ -60,7 +60,7 @@ $:.unshift "#{path}/../#{ruby_engine}/#{ruby_version}/gems/parallel-1.22.1/lib" $:.unshift "#{path}/../#{ruby_engine}/#{ruby_version}/gems/parallel_tests-3.13.0/lib" $:.unshift "#{path}/../#{ruby_engine}/#{ruby_version}/gems/parser-3.1.2.1/lib" $:.unshift "#{path}/../#{ruby_engine}/#{ruby_version}/gems/rainbow-3.1.1/lib" -$:.unshift "#{path}/../#{ruby_engine}/#{ruby_version}/gems/sorbet-runtime-0.5.10175/lib" +$:.unshift "#{path}/../#{ruby_engine}/#{ruby_version}/gems/sorbet-runtime-0.5.10461/lib" $:.unshift "#{path}/../#{ruby_engine}/#{ruby_version}/gems/parlour-8.0.0/lib" $:.unshift "#{path}/../#{ruby_engine}/#{ruby_version}/gems/patchelf-1.3.0/lib" $:.unshift "#{path}/../#{ruby_engine}/#{ruby_version}/gems/plist-3.6.0/lib" @@ -96,9 +96,9 @@ $:.unshift "#{path}/../#{ruby_engine}/#{ruby_version}/gems/simplecov-html-0.12.3 $:.unshift "#{path}/../#{ruby_engine}/#{ruby_version}/gems/simplecov_json_formatter-0.1.4/lib" $:.unshift "#{path}/../#{ruby_engine}/#{ruby_version}/gems/simplecov-0.21.2/lib" $:.unshift "#{path}/../#{ruby_engine}/#{ruby_version}/gems/simplecov-cobertura-2.1.0/lib" -$:.unshift "#{path}/../#{ruby_engine}/#{ruby_version}/gems/sorbet-static-0.5.10175-universal-darwin-21/lib" -$:.unshift "#{path}/../#{ruby_engine}/#{ruby_version}/gems/sorbet-0.5.10175/lib" -$:.unshift "#{path}/../#{ruby_engine}/#{ruby_version}/gems/sorbet-static-and-runtime-0.5.10175/lib" +$:.unshift "#{path}/../#{ruby_engine}/#{ruby_version}/gems/sorbet-static-0.5.10461-universal-darwin-21/lib" +$:.unshift "#{path}/../#{ruby_engine}/#{ruby_version}/gems/sorbet-0.5.10461/lib" +$:.unshift "#{path}/../#{ruby_engine}/#{ruby_version}/gems/sorbet-static-and-runtime-0.5.10461/lib" $:.unshift "#{path}/../#{ruby_engine}/#{ruby_version}/gems/thor-1.2.1/lib" $:.unshift "#{path}/../#{ruby_engine}/#{ruby_version}/gems/spoom-1.1.11/lib" $:.unshift "#{path}/../#{ruby_engine}/#{ruby_version}/gems/yard-0.9.28/lib" diff --git a/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/sorbet-runtime-0.5.10175/lib/sorbet-runtime.rb b/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/sorbet-runtime-0.5.10461/lib/sorbet-runtime.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/sorbet-runtime-0.5.10175/lib/sorbet-runtime.rb rename to Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/sorbet-runtime-0.5.10461/lib/sorbet-runtime.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/sorbet-runtime-0.5.10175/lib/types/_types.rb b/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/sorbet-runtime-0.5.10461/lib/types/_types.rb similarity index 97% rename from Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/sorbet-runtime-0.5.10175/lib/types/_types.rb rename to Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/sorbet-runtime-0.5.10461/lib/types/_types.rb index 20a0e641e0..9d7897400c 100644 --- a/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/sorbet-runtime-0.5.10175/lib/types/_types.rb +++ b/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/sorbet-runtime-0.5.10461/lib/types/_types.rb @@ -130,7 +130,7 @@ module T def self.cast(value, type, checked: true) return value unless checked - Private::Casts.cast(value, type, cast_method: "T.cast") + Private::Casts.cast(value, type, "T.cast") end # Tells the typechecker to declare a variable of type `type`. Use @@ -145,7 +145,7 @@ module T def self.let(value, type, checked: true) return value unless checked - Private::Casts.cast(value, type, cast_method: "T.let") + Private::Casts.cast(value, type, "T.let") end # Tells the type checker to treat `self` in the current block as `type`. @@ -164,7 +164,7 @@ module T def self.bind(value, type, checked: true) return value unless checked - Private::Casts.cast(value, type, cast_method: "T.bind") + Private::Casts.cast(value, type, "T.bind") end # Tells the typechecker to ensure that `value` is of type `type` (if not, the typechecker will @@ -174,7 +174,7 @@ module T def self.assert_type!(value, type, checked: true) return value unless checked - Private::Casts.cast(value, type, cast_method: "T.assert_type!") + Private::Casts.cast(value, type, "T.assert_type!") end # For the static type checker, strips all type information from a value diff --git a/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/sorbet-runtime-0.5.10175/lib/types/abstract_utils.rb b/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/sorbet-runtime-0.5.10461/lib/types/abstract_utils.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/sorbet-runtime-0.5.10175/lib/types/abstract_utils.rb rename to Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/sorbet-runtime-0.5.10461/lib/types/abstract_utils.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/sorbet-runtime-0.5.10175/lib/types/boolean.rb b/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/sorbet-runtime-0.5.10461/lib/types/boolean.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/sorbet-runtime-0.5.10175/lib/types/boolean.rb rename to Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/sorbet-runtime-0.5.10461/lib/types/boolean.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/sorbet-runtime-0.5.10175/lib/types/compatibility_patches.rb b/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/sorbet-runtime-0.5.10461/lib/types/compatibility_patches.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/sorbet-runtime-0.5.10175/lib/types/compatibility_patches.rb rename to Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/sorbet-runtime-0.5.10461/lib/types/compatibility_patches.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/sorbet-runtime-0.5.10175/lib/types/configuration.rb b/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/sorbet-runtime-0.5.10461/lib/types/configuration.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/sorbet-runtime-0.5.10175/lib/types/configuration.rb rename to Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/sorbet-runtime-0.5.10461/lib/types/configuration.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/sorbet-runtime-0.5.10175/lib/types/enum.rb b/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/sorbet-runtime-0.5.10461/lib/types/enum.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/sorbet-runtime-0.5.10175/lib/types/enum.rb rename to Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/sorbet-runtime-0.5.10461/lib/types/enum.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/sorbet-runtime-0.5.10175/lib/types/generic.rb b/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/sorbet-runtime-0.5.10461/lib/types/generic.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/sorbet-runtime-0.5.10175/lib/types/generic.rb rename to Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/sorbet-runtime-0.5.10461/lib/types/generic.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/sorbet-runtime-0.5.10175/lib/types/helpers.rb b/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/sorbet-runtime-0.5.10461/lib/types/helpers.rb similarity index 83% rename from Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/sorbet-runtime-0.5.10175/lib/types/helpers.rb rename to Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/sorbet-runtime-0.5.10461/lib/types/helpers.rb index 7f326e7384..e9b3675c34 100644 --- a/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/sorbet-runtime-0.5.10175/lib/types/helpers.rb +++ b/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/sorbet-runtime-0.5.10461/lib/types/helpers.rb @@ -11,6 +11,13 @@ module T::Helpers ### Class/Module Helpers ### def abstract! + if defined?(super) + # This is to play nicely with Rails' AbstractController::Base, + # which also defines an `abstract!` method. + # https://api.rubyonrails.org/classes/AbstractController/Base.html#method-c-abstract-21 + super + end + Private::Abstract::Declare.declare_abstract(self, type: :abstract) end diff --git a/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/sorbet-runtime-0.5.10175/lib/types/interface_wrapper.rb b/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/sorbet-runtime-0.5.10461/lib/types/interface_wrapper.rb similarity index 97% rename from Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/sorbet-runtime-0.5.10175/lib/types/interface_wrapper.rb rename to Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/sorbet-runtime-0.5.10461/lib/types/interface_wrapper.rb index 82998667f7..580d4b0df5 100644 --- a/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/sorbet-runtime-0.5.10175/lib/types/interface_wrapper.rb +++ b/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/sorbet-runtime-0.5.10461/lib/types/interface_wrapper.rb @@ -71,6 +71,10 @@ class T::InterfaceWrapper target_obj.send(method_name, *args, &blk) end + if singleton_class.respond_to?(:ruby2_keywords, true) + singleton_class.send(:ruby2_keywords, method_name) + end + if target_obj.singleton_class.public_method_defined?(method_name) # no-op, it's already public elsif target_obj.singleton_class.protected_method_defined?(method_name) diff --git a/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/sorbet-runtime-0.5.10175/lib/types/non_forcing_constants.rb b/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/sorbet-runtime-0.5.10461/lib/types/non_forcing_constants.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/sorbet-runtime-0.5.10175/lib/types/non_forcing_constants.rb rename to Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/sorbet-runtime-0.5.10461/lib/types/non_forcing_constants.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/sorbet-runtime-0.5.10175/lib/types/private/abstract/data.rb b/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/sorbet-runtime-0.5.10461/lib/types/private/abstract/data.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/sorbet-runtime-0.5.10175/lib/types/private/abstract/data.rb rename to Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/sorbet-runtime-0.5.10461/lib/types/private/abstract/data.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/sorbet-runtime-0.5.10175/lib/types/private/abstract/declare.rb b/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/sorbet-runtime-0.5.10461/lib/types/private/abstract/declare.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/sorbet-runtime-0.5.10175/lib/types/private/abstract/declare.rb rename to Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/sorbet-runtime-0.5.10461/lib/types/private/abstract/declare.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/sorbet-runtime-0.5.10175/lib/types/private/abstract/hooks.rb b/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/sorbet-runtime-0.5.10461/lib/types/private/abstract/hooks.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/sorbet-runtime-0.5.10175/lib/types/private/abstract/hooks.rb rename to Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/sorbet-runtime-0.5.10461/lib/types/private/abstract/hooks.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/sorbet-runtime-0.5.10175/lib/types/private/abstract/validate.rb b/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/sorbet-runtime-0.5.10461/lib/types/private/abstract/validate.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/sorbet-runtime-0.5.10175/lib/types/private/abstract/validate.rb rename to Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/sorbet-runtime-0.5.10461/lib/types/private/abstract/validate.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/sorbet-runtime-0.5.10175/lib/types/private/casts.rb b/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/sorbet-runtime-0.5.10461/lib/types/private/casts.rb similarity index 93% rename from Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/sorbet-runtime-0.5.10175/lib/types/private/casts.rb rename to Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/sorbet-runtime-0.5.10461/lib/types/private/casts.rb index f771090814..9b5145fdd9 100644 --- a/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/sorbet-runtime-0.5.10175/lib/types/private/casts.rb +++ b/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/sorbet-runtime-0.5.10461/lib/types/private/casts.rb @@ -3,7 +3,7 @@ module T::Private module Casts - def self.cast(value, type, cast_method:) + def self.cast(value, type, cast_method) begin error = T::Utils.coerce(type).error_message_for_obj(value) return value unless error @@ -22,7 +22,7 @@ module T::Private # there's a lot of shared logic with the above one, but factoring # it out like this makes it easier to hopefully one day delete # this one - def self.cast_recursive(value, type, cast_method:) + def self.cast_recursive(value, type, cast_method) begin error = T::Utils.coerce(type).error_message_for_obj_recursive(value) return value unless error diff --git a/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/sorbet-runtime-0.5.10175/lib/types/private/class_utils.rb b/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/sorbet-runtime-0.5.10461/lib/types/private/class_utils.rb similarity index 84% rename from Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/sorbet-runtime-0.5.10175/lib/types/private/class_utils.rb rename to Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/sorbet-runtime-0.5.10461/lib/types/private/class_utils.rb index 269b70cbee..9842ae62b0 100644 --- a/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/sorbet-runtime-0.5.10175/lib/types/private/class_utils.rb +++ b/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/sorbet-runtime-0.5.10461/lib/types/private/class_utils.rb @@ -69,6 +69,27 @@ module T::Private::ClassUtils end end + def self.def_with_visibility(mod, name, visibility, method=nil, &block) + mod.module_exec do + # Start a visibility (public/protected/private) region, so that + # all of the method redefinitions happen with the right visibility + # from the beginning. This ensures that any other code that is + # triggered by `method_added`, sees the redefined method with the + # right visibility. + send(visibility) + + if method + define_method(name, method) + else + define_method(name, &block) + end + + if block && block.arity < 0 && respond_to?(:ruby2_keywords, true) + ruby2_keywords(name) + end + end + end + # Replaces a method, either by overwriting it (if it is defined directly on `mod`) or by # overriding it (if it is defined by one of mod's ancestors). Returns a ReplacedMethod instance # on which you can call `bind(...).call(...)` to call the original method, or `restore` to @@ -96,13 +117,9 @@ module T::Private::ClassUtils overwritten = original_owner == mod T::Configuration.without_ruby_warnings do T::Private::DeclState.current.without_on_method_added do - mod.send(:define_method, name, &blk) - if blk.arity < 0 && mod.respond_to?(:ruby2_keywords, true) - mod.send(:ruby2_keywords, name) - end + def_with_visibility(mod, name, original_visibility, &blk) end end - mod.send(original_visibility, name) new_method = mod.instance_method(name) ReplacedMethod.new(mod, original_method, new_method, overwritten, original_visibility) diff --git a/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/sorbet-runtime-0.5.10175/lib/types/private/compiler.rb b/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/sorbet-runtime-0.5.10461/lib/types/private/compiler.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/sorbet-runtime-0.5.10175/lib/types/private/compiler.rb rename to Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/sorbet-runtime-0.5.10461/lib/types/private/compiler.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/sorbet-runtime-0.5.10175/lib/types/private/decl_state.rb b/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/sorbet-runtime-0.5.10461/lib/types/private/decl_state.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/sorbet-runtime-0.5.10175/lib/types/private/decl_state.rb rename to Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/sorbet-runtime-0.5.10461/lib/types/private/decl_state.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/sorbet-runtime-0.5.10175/lib/types/private/final.rb b/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/sorbet-runtime-0.5.10461/lib/types/private/final.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/sorbet-runtime-0.5.10175/lib/types/private/final.rb rename to Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/sorbet-runtime-0.5.10461/lib/types/private/final.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/sorbet-runtime-0.5.10175/lib/types/private/methods/_methods.rb b/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/sorbet-runtime-0.5.10461/lib/types/private/methods/_methods.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/sorbet-runtime-0.5.10175/lib/types/private/methods/_methods.rb rename to Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/sorbet-runtime-0.5.10461/lib/types/private/methods/_methods.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/sorbet-runtime-0.5.10175/lib/types/private/methods/call_validation.rb b/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/sorbet-runtime-0.5.10461/lib/types/private/methods/call_validation.rb similarity index 94% rename from Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/sorbet-runtime-0.5.10175/lib/types/private/methods/call_validation.rb rename to Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/sorbet-runtime-0.5.10461/lib/types/private/methods/call_validation.rb index 1889daa991..1bfe488aed 100644 --- a/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/sorbet-runtime-0.5.10175/lib/types/private/methods/call_validation.rb +++ b/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/sorbet-runtime-0.5.10461/lib/types/private/methods/call_validation.rb @@ -40,9 +40,8 @@ module T::Private::Methods::CallValidation T::Configuration.without_ruby_warnings do # get all the shims out of the way and put back the original method T::Private::DeclState.current.without_on_method_added do - mod.send(:define_method, method_sig.method_name, original_method) + T::Private::ClassUtils.def_with_visibility(mod, method_sig.method_name, original_visibility, original_method) end - mod.send(original_visibility, method_sig.method_name) end end # Return the newly created method (or the original one if we didn't replace it) @@ -70,28 +69,25 @@ module T::Private::Methods::CallValidation T::Configuration.without_ruby_warnings do T::Private::DeclState.current.without_on_method_added do if simple_method - create_validator_method_fast(mod, original_method, method_sig) + create_validator_method_fast(mod, original_method, method_sig, original_visibility) elsif simple_procedure - create_validator_procedure_fast(mod, original_method, method_sig) + create_validator_procedure_fast(mod, original_method, method_sig, original_visibility) elsif ok_for_fast_path && method_sig.return_type.is_a?(T::Private::Types::Void) - create_validator_procedure_medium(mod, original_method, method_sig) + create_validator_procedure_medium(mod, original_method, method_sig, original_visibility) elsif ok_for_fast_path - create_validator_method_medium(mod, original_method, method_sig) + create_validator_method_medium(mod, original_method, method_sig, original_visibility) else - create_validator_slow(mod, original_method, method_sig) + create_validator_slow(mod, original_method, method_sig, original_visibility) end end + mod.send(original_visibility, method_sig.method_name) end - mod.send(original_visibility, method_sig.method_name) end - def self.create_validator_slow(mod, original_method, method_sig) - mod.send(:define_method, method_sig.method_name) do |*args, &blk| + def self.create_validator_slow(mod, original_method, method_sig, original_visibility) + T::Private::ClassUtils.def_with_visibility(mod, method_sig.method_name, original_visibility) do |*args, &blk| CallValidation.validate_call(self, original_method, method_sig, args, blk) end - if mod.respond_to?(:ruby2_keywords, true) - mod.send(:ruby2_keywords, method_sig.method_name) - end end def self.validate_call(instance, original_method, method_sig, args, blk) diff --git a/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/sorbet-runtime-0.5.10175/lib/types/private/methods/call_validation_2_6.rb b/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/sorbet-runtime-0.5.10461/lib/types/private/methods/call_validation_2_6.rb similarity index 87% rename from Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/sorbet-runtime-0.5.10175/lib/types/private/methods/call_validation_2_6.rb rename to Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/sorbet-runtime-0.5.10461/lib/types/private/methods/call_validation_2_6.rb index 753580dc36..ff7fcb46b3 100644 --- a/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/sorbet-runtime-0.5.10175/lib/types/private/methods/call_validation_2_6.rb +++ b/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/sorbet-runtime-0.5.10461/lib/types/private/methods/call_validation_2_6.rb @@ -6,27 +6,27 @@ # bazel test //gems/sorbet-runtime:update_call_validation module T::Private::Methods::CallValidation - def self.create_validator_method_fast(mod, original_method, method_sig) + def self.create_validator_method_fast(mod, original_method, method_sig, original_visibility) if method_sig.return_type.is_a?(T::Private::Types::Void) raise 'Should have used create_validator_procedure_fast' end # trampoline to reduce stack frame size if method_sig.arg_types.empty? - create_validator_method_fast0(mod, original_method, method_sig, method_sig.return_type.raw_type) + create_validator_method_fast0(mod, original_method, method_sig, original_visibility, method_sig.return_type.raw_type) elsif method_sig.arg_types.length == 1 - create_validator_method_fast1(mod, original_method, method_sig, method_sig.return_type.raw_type, + create_validator_method_fast1(mod, original_method, method_sig, original_visibility, method_sig.return_type.raw_type, method_sig.arg_types[0][1].raw_type) elsif method_sig.arg_types.length == 2 - create_validator_method_fast2(mod, original_method, method_sig, method_sig.return_type.raw_type, + create_validator_method_fast2(mod, original_method, method_sig, original_visibility, method_sig.return_type.raw_type, method_sig.arg_types[0][1].raw_type, method_sig.arg_types[1][1].raw_type) elsif method_sig.arg_types.length == 3 - create_validator_method_fast3(mod, original_method, method_sig, method_sig.return_type.raw_type, + create_validator_method_fast3(mod, original_method, method_sig, original_visibility, method_sig.return_type.raw_type, method_sig.arg_types[0][1].raw_type, method_sig.arg_types[1][1].raw_type, method_sig.arg_types[2][1].raw_type) elsif method_sig.arg_types.length == 4 - create_validator_method_fast4(mod, original_method, method_sig, method_sig.return_type.raw_type, + create_validator_method_fast4(mod, original_method, method_sig, original_visibility, method_sig.return_type.raw_type, method_sig.arg_types[0][1].raw_type, method_sig.arg_types[1][1].raw_type, method_sig.arg_types[2][1].raw_type, @@ -36,8 +36,8 @@ module T::Private::Methods::CallValidation end end - def self.create_validator_method_fast0(mod, original_method, method_sig, return_type) - mod.send(:define_method, method_sig.method_name) do |&blk| + def self.create_validator_method_fast0(mod, original_method, method_sig, original_visibility, return_type) + T::Private::ClassUtils.def_with_visibility(mod, method_sig.method_name, original_visibility) do |&blk| # This method is a manually sped-up version of more general code in `validate_call` # The following line breaks are intentional to show nice pry message @@ -73,8 +73,8 @@ module T::Private::Methods::CallValidation end end - def self.create_validator_method_fast1(mod, original_method, method_sig, return_type, arg0_type) - mod.send(:define_method, method_sig.method_name) do |arg0, &blk| + def self.create_validator_method_fast1(mod, original_method, method_sig, original_visibility, return_type, arg0_type) + T::Private::ClassUtils.def_with_visibility(mod, method_sig.method_name, original_visibility) do |arg0, &blk| # This method is a manually sped-up version of more general code in `validate_call` unless arg0.is_a?(arg0_type) CallValidation.report_error( @@ -122,8 +122,8 @@ module T::Private::Methods::CallValidation end end - def self.create_validator_method_fast2(mod, original_method, method_sig, return_type, arg0_type, arg1_type) - mod.send(:define_method, method_sig.method_name) do |arg0, arg1, &blk| + def self.create_validator_method_fast2(mod, original_method, method_sig, original_visibility, return_type, arg0_type, arg1_type) + T::Private::ClassUtils.def_with_visibility(mod, method_sig.method_name, original_visibility) do |arg0, arg1, &blk| # This method is a manually sped-up version of more general code in `validate_call` unless arg0.is_a?(arg0_type) CallValidation.report_error( @@ -183,8 +183,8 @@ module T::Private::Methods::CallValidation end end - def self.create_validator_method_fast3(mod, original_method, method_sig, return_type, arg0_type, arg1_type, arg2_type) - mod.send(:define_method, method_sig.method_name) do |arg0, arg1, arg2, &blk| + def self.create_validator_method_fast3(mod, original_method, method_sig, original_visibility, return_type, arg0_type, arg1_type, arg2_type) + T::Private::ClassUtils.def_with_visibility(mod, method_sig.method_name, original_visibility) do |arg0, arg1, arg2, &blk| # This method is a manually sped-up version of more general code in `validate_call` unless arg0.is_a?(arg0_type) CallValidation.report_error( @@ -256,8 +256,8 @@ module T::Private::Methods::CallValidation end end - def self.create_validator_method_fast4(mod, original_method, method_sig, return_type, arg0_type, arg1_type, arg2_type, arg3_type) - mod.send(:define_method, method_sig.method_name) do |arg0, arg1, arg2, arg3, &blk| + def self.create_validator_method_fast4(mod, original_method, method_sig, original_visibility, return_type, arg0_type, arg1_type, arg2_type, arg3_type) + T::Private::ClassUtils.def_with_visibility(mod, method_sig.method_name, original_visibility) do |arg0, arg1, arg2, arg3, &blk| # This method is a manually sped-up version of more general code in `validate_call` unless arg0.is_a?(arg0_type) CallValidation.report_error( @@ -341,24 +341,24 @@ module T::Private::Methods::CallValidation end end - def self.create_validator_procedure_fast(mod, original_method, method_sig) + def self.create_validator_procedure_fast(mod, original_method, method_sig, original_visibility) # trampoline to reduce stack frame size if method_sig.arg_types.empty? - create_validator_procedure_fast0(mod, original_method, method_sig) + create_validator_procedure_fast0(mod, original_method, method_sig, original_visibility) elsif method_sig.arg_types.length == 1 - create_validator_procedure_fast1(mod, original_method, method_sig, + create_validator_procedure_fast1(mod, original_method, method_sig, original_visibility, method_sig.arg_types[0][1].raw_type) elsif method_sig.arg_types.length == 2 - create_validator_procedure_fast2(mod, original_method, method_sig, + create_validator_procedure_fast2(mod, original_method, method_sig, original_visibility, method_sig.arg_types[0][1].raw_type, method_sig.arg_types[1][1].raw_type) elsif method_sig.arg_types.length == 3 - create_validator_procedure_fast3(mod, original_method, method_sig, + create_validator_procedure_fast3(mod, original_method, method_sig, original_visibility, method_sig.arg_types[0][1].raw_type, method_sig.arg_types[1][1].raw_type, method_sig.arg_types[2][1].raw_type) elsif method_sig.arg_types.length == 4 - create_validator_procedure_fast4(mod, original_method, method_sig, + create_validator_procedure_fast4(mod, original_method, method_sig, original_visibility, method_sig.arg_types[0][1].raw_type, method_sig.arg_types[1][1].raw_type, method_sig.arg_types[2][1].raw_type, @@ -368,8 +368,8 @@ module T::Private::Methods::CallValidation end end - def self.create_validator_procedure_fast0(mod, original_method, method_sig) - mod.send(:define_method, method_sig.method_name) do |&blk| + def self.create_validator_procedure_fast0(mod, original_method, method_sig, original_visibility) + T::Private::ClassUtils.def_with_visibility(mod, method_sig.method_name, original_visibility) do |&blk| # This method is a manually sped-up version of more general code in `validate_call` # The following line breaks are intentional to show nice pry message @@ -391,8 +391,8 @@ module T::Private::Methods::CallValidation end end - def self.create_validator_procedure_fast1(mod, original_method, method_sig, arg0_type) - mod.send(:define_method, method_sig.method_name) do |arg0, &blk| + def self.create_validator_procedure_fast1(mod, original_method, method_sig, original_visibility, arg0_type) + T::Private::ClassUtils.def_with_visibility(mod, method_sig.method_name, original_visibility) do |arg0, &blk| # This method is a manually sped-up version of more general code in `validate_call` unless arg0.is_a?(arg0_type) CallValidation.report_error( @@ -426,8 +426,8 @@ module T::Private::Methods::CallValidation end end - def self.create_validator_procedure_fast2(mod, original_method, method_sig, arg0_type, arg1_type) - mod.send(:define_method, method_sig.method_name) do |arg0, arg1, &blk| + def self.create_validator_procedure_fast2(mod, original_method, method_sig, original_visibility, arg0_type, arg1_type) + T::Private::ClassUtils.def_with_visibility(mod, method_sig.method_name, original_visibility) do |arg0, arg1, &blk| # This method is a manually sped-up version of more general code in `validate_call` unless arg0.is_a?(arg0_type) CallValidation.report_error( @@ -473,8 +473,8 @@ module T::Private::Methods::CallValidation end end - def self.create_validator_procedure_fast3(mod, original_method, method_sig, arg0_type, arg1_type, arg2_type) - mod.send(:define_method, method_sig.method_name) do |arg0, arg1, arg2, &blk| + def self.create_validator_procedure_fast3(mod, original_method, method_sig, original_visibility, arg0_type, arg1_type, arg2_type) + T::Private::ClassUtils.def_with_visibility(mod, method_sig.method_name, original_visibility) do |arg0, arg1, arg2, &blk| # This method is a manually sped-up version of more general code in `validate_call` unless arg0.is_a?(arg0_type) CallValidation.report_error( @@ -532,8 +532,8 @@ module T::Private::Methods::CallValidation end end - def self.create_validator_procedure_fast4(mod, original_method, method_sig, arg0_type, arg1_type, arg2_type, arg3_type) - mod.send(:define_method, method_sig.method_name) do |arg0, arg1, arg2, arg3, &blk| + def self.create_validator_procedure_fast4(mod, original_method, method_sig, original_visibility, arg0_type, arg1_type, arg2_type, arg3_type) + T::Private::ClassUtils.def_with_visibility(mod, method_sig.method_name, original_visibility) do |arg0, arg1, arg2, arg3, &blk| # This method is a manually sped-up version of more general code in `validate_call` unless arg0.is_a?(arg0_type) CallValidation.report_error( @@ -603,27 +603,27 @@ module T::Private::Methods::CallValidation end end - def self.create_validator_method_medium(mod, original_method, method_sig) + def self.create_validator_method_medium(mod, original_method, method_sig, original_visibility) if method_sig.return_type.is_a?(T::Private::Types::Void) raise 'Should have used create_validator_procedure_medium' end # trampoline to reduce stack frame size if method_sig.arg_types.empty? - create_validator_method_medium0(mod, original_method, method_sig, method_sig.return_type) + create_validator_method_medium0(mod, original_method, method_sig, original_visibility, method_sig.return_type) elsif method_sig.arg_types.length == 1 - create_validator_method_medium1(mod, original_method, method_sig, method_sig.return_type, + create_validator_method_medium1(mod, original_method, method_sig, original_visibility, method_sig.return_type, method_sig.arg_types[0][1]) elsif method_sig.arg_types.length == 2 - create_validator_method_medium2(mod, original_method, method_sig, method_sig.return_type, + create_validator_method_medium2(mod, original_method, method_sig, original_visibility, method_sig.return_type, method_sig.arg_types[0][1], method_sig.arg_types[1][1]) elsif method_sig.arg_types.length == 3 - create_validator_method_medium3(mod, original_method, method_sig, method_sig.return_type, + create_validator_method_medium3(mod, original_method, method_sig, original_visibility, method_sig.return_type, method_sig.arg_types[0][1], method_sig.arg_types[1][1], method_sig.arg_types[2][1]) elsif method_sig.arg_types.length == 4 - create_validator_method_medium4(mod, original_method, method_sig, method_sig.return_type, + create_validator_method_medium4(mod, original_method, method_sig, original_visibility, method_sig.return_type, method_sig.arg_types[0][1], method_sig.arg_types[1][1], method_sig.arg_types[2][1], @@ -633,8 +633,8 @@ module T::Private::Methods::CallValidation end end - def self.create_validator_method_medium0(mod, original_method, method_sig, return_type) - mod.send(:define_method, method_sig.method_name) do |&blk| + def self.create_validator_method_medium0(mod, original_method, method_sig, original_visibility, return_type) + T::Private::ClassUtils.def_with_visibility(mod, method_sig.method_name, original_visibility) do |&blk| # This method is a manually sped-up version of more general code in `validate_call` # The following line breaks are intentional to show nice pry message @@ -670,8 +670,8 @@ module T::Private::Methods::CallValidation end end - def self.create_validator_method_medium1(mod, original_method, method_sig, return_type, arg0_type) - mod.send(:define_method, method_sig.method_name) do |arg0, &blk| + def self.create_validator_method_medium1(mod, original_method, method_sig, original_visibility, return_type, arg0_type) + T::Private::ClassUtils.def_with_visibility(mod, method_sig.method_name, original_visibility) do |arg0, &blk| # This method is a manually sped-up version of more general code in `validate_call` unless arg0_type.valid?(arg0) CallValidation.report_error( @@ -719,8 +719,8 @@ module T::Private::Methods::CallValidation end end - def self.create_validator_method_medium2(mod, original_method, method_sig, return_type, arg0_type, arg1_type) - mod.send(:define_method, method_sig.method_name) do |arg0, arg1, &blk| + def self.create_validator_method_medium2(mod, original_method, method_sig, original_visibility, return_type, arg0_type, arg1_type) + T::Private::ClassUtils.def_with_visibility(mod, method_sig.method_name, original_visibility) do |arg0, arg1, &blk| # This method is a manually sped-up version of more general code in `validate_call` unless arg0_type.valid?(arg0) CallValidation.report_error( @@ -780,8 +780,8 @@ module T::Private::Methods::CallValidation end end - def self.create_validator_method_medium3(mod, original_method, method_sig, return_type, arg0_type, arg1_type, arg2_type) - mod.send(:define_method, method_sig.method_name) do |arg0, arg1, arg2, &blk| + def self.create_validator_method_medium3(mod, original_method, method_sig, original_visibility, return_type, arg0_type, arg1_type, arg2_type) + T::Private::ClassUtils.def_with_visibility(mod, method_sig.method_name, original_visibility) do |arg0, arg1, arg2, &blk| # This method is a manually sped-up version of more general code in `validate_call` unless arg0_type.valid?(arg0) CallValidation.report_error( @@ -853,8 +853,8 @@ module T::Private::Methods::CallValidation end end - def self.create_validator_method_medium4(mod, original_method, method_sig, return_type, arg0_type, arg1_type, arg2_type, arg3_type) - mod.send(:define_method, method_sig.method_name) do |arg0, arg1, arg2, arg3, &blk| + def self.create_validator_method_medium4(mod, original_method, method_sig, original_visibility, return_type, arg0_type, arg1_type, arg2_type, arg3_type) + T::Private::ClassUtils.def_with_visibility(mod, method_sig.method_name, original_visibility) do |arg0, arg1, arg2, arg3, &blk| # This method is a manually sped-up version of more general code in `validate_call` unless arg0_type.valid?(arg0) CallValidation.report_error( @@ -938,24 +938,24 @@ module T::Private::Methods::CallValidation end end - def self.create_validator_procedure_medium(mod, original_method, method_sig) + def self.create_validator_procedure_medium(mod, original_method, method_sig, original_visibility) # trampoline to reduce stack frame size if method_sig.arg_types.empty? - create_validator_procedure_medium0(mod, original_method, method_sig) + create_validator_procedure_medium0(mod, original_method, method_sig, original_visibility) elsif method_sig.arg_types.length == 1 - create_validator_procedure_medium1(mod, original_method, method_sig, + create_validator_procedure_medium1(mod, original_method, method_sig, original_visibility, method_sig.arg_types[0][1]) elsif method_sig.arg_types.length == 2 - create_validator_procedure_medium2(mod, original_method, method_sig, + create_validator_procedure_medium2(mod, original_method, method_sig, original_visibility, method_sig.arg_types[0][1], method_sig.arg_types[1][1]) elsif method_sig.arg_types.length == 3 - create_validator_procedure_medium3(mod, original_method, method_sig, + create_validator_procedure_medium3(mod, original_method, method_sig, original_visibility, method_sig.arg_types[0][1], method_sig.arg_types[1][1], method_sig.arg_types[2][1]) elsif method_sig.arg_types.length == 4 - create_validator_procedure_medium4(mod, original_method, method_sig, + create_validator_procedure_medium4(mod, original_method, method_sig, original_visibility, method_sig.arg_types[0][1], method_sig.arg_types[1][1], method_sig.arg_types[2][1], @@ -965,8 +965,8 @@ module T::Private::Methods::CallValidation end end - def self.create_validator_procedure_medium0(mod, original_method, method_sig) - mod.send(:define_method, method_sig.method_name) do |&blk| + def self.create_validator_procedure_medium0(mod, original_method, method_sig, original_visibility) + T::Private::ClassUtils.def_with_visibility(mod, method_sig.method_name, original_visibility) do |&blk| # This method is a manually sped-up version of more general code in `validate_call` # The following line breaks are intentional to show nice pry message @@ -988,8 +988,8 @@ module T::Private::Methods::CallValidation end end - def self.create_validator_procedure_medium1(mod, original_method, method_sig, arg0_type) - mod.send(:define_method, method_sig.method_name) do |arg0, &blk| + def self.create_validator_procedure_medium1(mod, original_method, method_sig, original_visibility, arg0_type) + T::Private::ClassUtils.def_with_visibility(mod, method_sig.method_name, original_visibility) do |arg0, &blk| # This method is a manually sped-up version of more general code in `validate_call` unless arg0_type.valid?(arg0) CallValidation.report_error( @@ -1023,8 +1023,8 @@ module T::Private::Methods::CallValidation end end - def self.create_validator_procedure_medium2(mod, original_method, method_sig, arg0_type, arg1_type) - mod.send(:define_method, method_sig.method_name) do |arg0, arg1, &blk| + def self.create_validator_procedure_medium2(mod, original_method, method_sig, original_visibility, arg0_type, arg1_type) + T::Private::ClassUtils.def_with_visibility(mod, method_sig.method_name, original_visibility) do |arg0, arg1, &blk| # This method is a manually sped-up version of more general code in `validate_call` unless arg0_type.valid?(arg0) CallValidation.report_error( @@ -1070,8 +1070,8 @@ module T::Private::Methods::CallValidation end end - def self.create_validator_procedure_medium3(mod, original_method, method_sig, arg0_type, arg1_type, arg2_type) - mod.send(:define_method, method_sig.method_name) do |arg0, arg1, arg2, &blk| + def self.create_validator_procedure_medium3(mod, original_method, method_sig, original_visibility, arg0_type, arg1_type, arg2_type) + T::Private::ClassUtils.def_with_visibility(mod, method_sig.method_name, original_visibility) do |arg0, arg1, arg2, &blk| # This method is a manually sped-up version of more general code in `validate_call` unless arg0_type.valid?(arg0) CallValidation.report_error( @@ -1129,8 +1129,8 @@ module T::Private::Methods::CallValidation end end - def self.create_validator_procedure_medium4(mod, original_method, method_sig, arg0_type, arg1_type, arg2_type, arg3_type) - mod.send(:define_method, method_sig.method_name) do |arg0, arg1, arg2, arg3, &blk| + def self.create_validator_procedure_medium4(mod, original_method, method_sig, original_visibility, arg0_type, arg1_type, arg2_type, arg3_type) + T::Private::ClassUtils.def_with_visibility(mod, method_sig.method_name, original_visibility) do |arg0, arg1, arg2, arg3, &blk| # This method is a manually sped-up version of more general code in `validate_call` unless arg0_type.valid?(arg0) CallValidation.report_error( diff --git a/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/sorbet-runtime-0.5.10175/lib/types/private/methods/call_validation_2_7.rb b/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/sorbet-runtime-0.5.10461/lib/types/private/methods/call_validation_2_7.rb similarity index 87% rename from Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/sorbet-runtime-0.5.10175/lib/types/private/methods/call_validation_2_7.rb rename to Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/sorbet-runtime-0.5.10461/lib/types/private/methods/call_validation_2_7.rb index 1686db8977..26c261746a 100644 --- a/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/sorbet-runtime-0.5.10175/lib/types/private/methods/call_validation_2_7.rb +++ b/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/sorbet-runtime-0.5.10461/lib/types/private/methods/call_validation_2_7.rb @@ -6,27 +6,27 @@ # bazel test //gems/sorbet-runtime:update_call_validation module T::Private::Methods::CallValidation - def self.create_validator_method_fast(mod, original_method, method_sig) + def self.create_validator_method_fast(mod, original_method, method_sig, original_visibility) if method_sig.return_type.is_a?(T::Private::Types::Void) raise 'Should have used create_validator_procedure_fast' end # trampoline to reduce stack frame size if method_sig.arg_types.empty? - create_validator_method_fast0(mod, original_method, method_sig, method_sig.return_type.raw_type) + create_validator_method_fast0(mod, original_method, method_sig, original_visibility, method_sig.return_type.raw_type) elsif method_sig.arg_types.length == 1 - create_validator_method_fast1(mod, original_method, method_sig, method_sig.return_type.raw_type, + create_validator_method_fast1(mod, original_method, method_sig, original_visibility, method_sig.return_type.raw_type, method_sig.arg_types[0][1].raw_type) elsif method_sig.arg_types.length == 2 - create_validator_method_fast2(mod, original_method, method_sig, method_sig.return_type.raw_type, + create_validator_method_fast2(mod, original_method, method_sig, original_visibility, method_sig.return_type.raw_type, method_sig.arg_types[0][1].raw_type, method_sig.arg_types[1][1].raw_type) elsif method_sig.arg_types.length == 3 - create_validator_method_fast3(mod, original_method, method_sig, method_sig.return_type.raw_type, + create_validator_method_fast3(mod, original_method, method_sig, original_visibility, method_sig.return_type.raw_type, method_sig.arg_types[0][1].raw_type, method_sig.arg_types[1][1].raw_type, method_sig.arg_types[2][1].raw_type) elsif method_sig.arg_types.length == 4 - create_validator_method_fast4(mod, original_method, method_sig, method_sig.return_type.raw_type, + create_validator_method_fast4(mod, original_method, method_sig, original_visibility, method_sig.return_type.raw_type, method_sig.arg_types[0][1].raw_type, method_sig.arg_types[1][1].raw_type, method_sig.arg_types[2][1].raw_type, @@ -36,8 +36,8 @@ module T::Private::Methods::CallValidation end end - def self.create_validator_method_fast0(mod, original_method, method_sig, return_type) - mod.send(:define_method, method_sig.method_name) do |&blk| + def self.create_validator_method_fast0(mod, original_method, method_sig, original_visibility, return_type) + T::Private::ClassUtils.def_with_visibility(mod, method_sig.method_name, original_visibility) do |&blk| # This method is a manually sped-up version of more general code in `validate_call` # The following line breaks are intentional to show nice pry message @@ -73,8 +73,8 @@ module T::Private::Methods::CallValidation end end - def self.create_validator_method_fast1(mod, original_method, method_sig, return_type, arg0_type) - mod.send(:define_method, method_sig.method_name) do |arg0, &blk| + def self.create_validator_method_fast1(mod, original_method, method_sig, original_visibility, return_type, arg0_type) + T::Private::ClassUtils.def_with_visibility(mod, method_sig.method_name, original_visibility) do |arg0, &blk| # This method is a manually sped-up version of more general code in `validate_call` unless arg0.is_a?(arg0_type) CallValidation.report_error( @@ -122,8 +122,8 @@ module T::Private::Methods::CallValidation end end - def self.create_validator_method_fast2(mod, original_method, method_sig, return_type, arg0_type, arg1_type) - mod.send(:define_method, method_sig.method_name) do |arg0, arg1, &blk| + def self.create_validator_method_fast2(mod, original_method, method_sig, original_visibility, return_type, arg0_type, arg1_type) + T::Private::ClassUtils.def_with_visibility(mod, method_sig.method_name, original_visibility) do |arg0, arg1, &blk| # This method is a manually sped-up version of more general code in `validate_call` unless arg0.is_a?(arg0_type) CallValidation.report_error( @@ -183,8 +183,8 @@ module T::Private::Methods::CallValidation end end - def self.create_validator_method_fast3(mod, original_method, method_sig, return_type, arg0_type, arg1_type, arg2_type) - mod.send(:define_method, method_sig.method_name) do |arg0, arg1, arg2, &blk| + def self.create_validator_method_fast3(mod, original_method, method_sig, original_visibility, return_type, arg0_type, arg1_type, arg2_type) + T::Private::ClassUtils.def_with_visibility(mod, method_sig.method_name, original_visibility) do |arg0, arg1, arg2, &blk| # This method is a manually sped-up version of more general code in `validate_call` unless arg0.is_a?(arg0_type) CallValidation.report_error( @@ -256,8 +256,8 @@ module T::Private::Methods::CallValidation end end - def self.create_validator_method_fast4(mod, original_method, method_sig, return_type, arg0_type, arg1_type, arg2_type, arg3_type) - mod.send(:define_method, method_sig.method_name) do |arg0, arg1, arg2, arg3, &blk| + def self.create_validator_method_fast4(mod, original_method, method_sig, original_visibility, return_type, arg0_type, arg1_type, arg2_type, arg3_type) + T::Private::ClassUtils.def_with_visibility(mod, method_sig.method_name, original_visibility) do |arg0, arg1, arg2, arg3, &blk| # This method is a manually sped-up version of more general code in `validate_call` unless arg0.is_a?(arg0_type) CallValidation.report_error( @@ -341,24 +341,24 @@ module T::Private::Methods::CallValidation end end - def self.create_validator_procedure_fast(mod, original_method, method_sig) + def self.create_validator_procedure_fast(mod, original_method, method_sig, original_visibility) # trampoline to reduce stack frame size if method_sig.arg_types.empty? - create_validator_procedure_fast0(mod, original_method, method_sig) + create_validator_procedure_fast0(mod, original_method, method_sig, original_visibility) elsif method_sig.arg_types.length == 1 - create_validator_procedure_fast1(mod, original_method, method_sig, + create_validator_procedure_fast1(mod, original_method, method_sig, original_visibility, method_sig.arg_types[0][1].raw_type) elsif method_sig.arg_types.length == 2 - create_validator_procedure_fast2(mod, original_method, method_sig, + create_validator_procedure_fast2(mod, original_method, method_sig, original_visibility, method_sig.arg_types[0][1].raw_type, method_sig.arg_types[1][1].raw_type) elsif method_sig.arg_types.length == 3 - create_validator_procedure_fast3(mod, original_method, method_sig, + create_validator_procedure_fast3(mod, original_method, method_sig, original_visibility, method_sig.arg_types[0][1].raw_type, method_sig.arg_types[1][1].raw_type, method_sig.arg_types[2][1].raw_type) elsif method_sig.arg_types.length == 4 - create_validator_procedure_fast4(mod, original_method, method_sig, + create_validator_procedure_fast4(mod, original_method, method_sig, original_visibility, method_sig.arg_types[0][1].raw_type, method_sig.arg_types[1][1].raw_type, method_sig.arg_types[2][1].raw_type, @@ -368,8 +368,8 @@ module T::Private::Methods::CallValidation end end - def self.create_validator_procedure_fast0(mod, original_method, method_sig) - mod.send(:define_method, method_sig.method_name) do |&blk| + def self.create_validator_procedure_fast0(mod, original_method, method_sig, original_visibility) + T::Private::ClassUtils.def_with_visibility(mod, method_sig.method_name, original_visibility) do |&blk| # This method is a manually sped-up version of more general code in `validate_call` # The following line breaks are intentional to show nice pry message @@ -391,8 +391,8 @@ module T::Private::Methods::CallValidation end end - def self.create_validator_procedure_fast1(mod, original_method, method_sig, arg0_type) - mod.send(:define_method, method_sig.method_name) do |arg0, &blk| + def self.create_validator_procedure_fast1(mod, original_method, method_sig, original_visibility, arg0_type) + T::Private::ClassUtils.def_with_visibility(mod, method_sig.method_name, original_visibility) do |arg0, &blk| # This method is a manually sped-up version of more general code in `validate_call` unless arg0.is_a?(arg0_type) CallValidation.report_error( @@ -426,8 +426,8 @@ module T::Private::Methods::CallValidation end end - def self.create_validator_procedure_fast2(mod, original_method, method_sig, arg0_type, arg1_type) - mod.send(:define_method, method_sig.method_name) do |arg0, arg1, &blk| + def self.create_validator_procedure_fast2(mod, original_method, method_sig, original_visibility, arg0_type, arg1_type) + T::Private::ClassUtils.def_with_visibility(mod, method_sig.method_name, original_visibility) do |arg0, arg1, &blk| # This method is a manually sped-up version of more general code in `validate_call` unless arg0.is_a?(arg0_type) CallValidation.report_error( @@ -473,8 +473,8 @@ module T::Private::Methods::CallValidation end end - def self.create_validator_procedure_fast3(mod, original_method, method_sig, arg0_type, arg1_type, arg2_type) - mod.send(:define_method, method_sig.method_name) do |arg0, arg1, arg2, &blk| + def self.create_validator_procedure_fast3(mod, original_method, method_sig, original_visibility, arg0_type, arg1_type, arg2_type) + T::Private::ClassUtils.def_with_visibility(mod, method_sig.method_name, original_visibility) do |arg0, arg1, arg2, &blk| # This method is a manually sped-up version of more general code in `validate_call` unless arg0.is_a?(arg0_type) CallValidation.report_error( @@ -532,8 +532,8 @@ module T::Private::Methods::CallValidation end end - def self.create_validator_procedure_fast4(mod, original_method, method_sig, arg0_type, arg1_type, arg2_type, arg3_type) - mod.send(:define_method, method_sig.method_name) do |arg0, arg1, arg2, arg3, &blk| + def self.create_validator_procedure_fast4(mod, original_method, method_sig, original_visibility, arg0_type, arg1_type, arg2_type, arg3_type) + T::Private::ClassUtils.def_with_visibility(mod, method_sig.method_name, original_visibility) do |arg0, arg1, arg2, arg3, &blk| # This method is a manually sped-up version of more general code in `validate_call` unless arg0.is_a?(arg0_type) CallValidation.report_error( @@ -603,27 +603,27 @@ module T::Private::Methods::CallValidation end end - def self.create_validator_method_medium(mod, original_method, method_sig) + def self.create_validator_method_medium(mod, original_method, method_sig, original_visibility) if method_sig.return_type.is_a?(T::Private::Types::Void) raise 'Should have used create_validator_procedure_medium' end # trampoline to reduce stack frame size if method_sig.arg_types.empty? - create_validator_method_medium0(mod, original_method, method_sig, method_sig.return_type) + create_validator_method_medium0(mod, original_method, method_sig, original_visibility, method_sig.return_type) elsif method_sig.arg_types.length == 1 - create_validator_method_medium1(mod, original_method, method_sig, method_sig.return_type, + create_validator_method_medium1(mod, original_method, method_sig, original_visibility, method_sig.return_type, method_sig.arg_types[0][1]) elsif method_sig.arg_types.length == 2 - create_validator_method_medium2(mod, original_method, method_sig, method_sig.return_type, + create_validator_method_medium2(mod, original_method, method_sig, original_visibility, method_sig.return_type, method_sig.arg_types[0][1], method_sig.arg_types[1][1]) elsif method_sig.arg_types.length == 3 - create_validator_method_medium3(mod, original_method, method_sig, method_sig.return_type, + create_validator_method_medium3(mod, original_method, method_sig, original_visibility, method_sig.return_type, method_sig.arg_types[0][1], method_sig.arg_types[1][1], method_sig.arg_types[2][1]) elsif method_sig.arg_types.length == 4 - create_validator_method_medium4(mod, original_method, method_sig, method_sig.return_type, + create_validator_method_medium4(mod, original_method, method_sig, original_visibility, method_sig.return_type, method_sig.arg_types[0][1], method_sig.arg_types[1][1], method_sig.arg_types[2][1], @@ -633,8 +633,8 @@ module T::Private::Methods::CallValidation end end - def self.create_validator_method_medium0(mod, original_method, method_sig, return_type) - mod.send(:define_method, method_sig.method_name) do |&blk| + def self.create_validator_method_medium0(mod, original_method, method_sig, original_visibility, return_type) + T::Private::ClassUtils.def_with_visibility(mod, method_sig.method_name, original_visibility) do |&blk| # This method is a manually sped-up version of more general code in `validate_call` # The following line breaks are intentional to show nice pry message @@ -670,8 +670,8 @@ module T::Private::Methods::CallValidation end end - def self.create_validator_method_medium1(mod, original_method, method_sig, return_type, arg0_type) - mod.send(:define_method, method_sig.method_name) do |arg0, &blk| + def self.create_validator_method_medium1(mod, original_method, method_sig, original_visibility, return_type, arg0_type) + T::Private::ClassUtils.def_with_visibility(mod, method_sig.method_name, original_visibility) do |arg0, &blk| # This method is a manually sped-up version of more general code in `validate_call` unless arg0_type.valid?(arg0) CallValidation.report_error( @@ -719,8 +719,8 @@ module T::Private::Methods::CallValidation end end - def self.create_validator_method_medium2(mod, original_method, method_sig, return_type, arg0_type, arg1_type) - mod.send(:define_method, method_sig.method_name) do |arg0, arg1, &blk| + def self.create_validator_method_medium2(mod, original_method, method_sig, original_visibility, return_type, arg0_type, arg1_type) + T::Private::ClassUtils.def_with_visibility(mod, method_sig.method_name, original_visibility) do |arg0, arg1, &blk| # This method is a manually sped-up version of more general code in `validate_call` unless arg0_type.valid?(arg0) CallValidation.report_error( @@ -780,8 +780,8 @@ module T::Private::Methods::CallValidation end end - def self.create_validator_method_medium3(mod, original_method, method_sig, return_type, arg0_type, arg1_type, arg2_type) - mod.send(:define_method, method_sig.method_name) do |arg0, arg1, arg2, &blk| + def self.create_validator_method_medium3(mod, original_method, method_sig, original_visibility, return_type, arg0_type, arg1_type, arg2_type) + T::Private::ClassUtils.def_with_visibility(mod, method_sig.method_name, original_visibility) do |arg0, arg1, arg2, &blk| # This method is a manually sped-up version of more general code in `validate_call` unless arg0_type.valid?(arg0) CallValidation.report_error( @@ -853,8 +853,8 @@ module T::Private::Methods::CallValidation end end - def self.create_validator_method_medium4(mod, original_method, method_sig, return_type, arg0_type, arg1_type, arg2_type, arg3_type) - mod.send(:define_method, method_sig.method_name) do |arg0, arg1, arg2, arg3, &blk| + def self.create_validator_method_medium4(mod, original_method, method_sig, original_visibility, return_type, arg0_type, arg1_type, arg2_type, arg3_type) + T::Private::ClassUtils.def_with_visibility(mod, method_sig.method_name, original_visibility) do |arg0, arg1, arg2, arg3, &blk| # This method is a manually sped-up version of more general code in `validate_call` unless arg0_type.valid?(arg0) CallValidation.report_error( @@ -938,24 +938,24 @@ module T::Private::Methods::CallValidation end end - def self.create_validator_procedure_medium(mod, original_method, method_sig) + def self.create_validator_procedure_medium(mod, original_method, method_sig, original_visibility) # trampoline to reduce stack frame size if method_sig.arg_types.empty? - create_validator_procedure_medium0(mod, original_method, method_sig) + create_validator_procedure_medium0(mod, original_method, method_sig, original_visibility) elsif method_sig.arg_types.length == 1 - create_validator_procedure_medium1(mod, original_method, method_sig, + create_validator_procedure_medium1(mod, original_method, method_sig, original_visibility, method_sig.arg_types[0][1]) elsif method_sig.arg_types.length == 2 - create_validator_procedure_medium2(mod, original_method, method_sig, + create_validator_procedure_medium2(mod, original_method, method_sig, original_visibility, method_sig.arg_types[0][1], method_sig.arg_types[1][1]) elsif method_sig.arg_types.length == 3 - create_validator_procedure_medium3(mod, original_method, method_sig, + create_validator_procedure_medium3(mod, original_method, method_sig, original_visibility, method_sig.arg_types[0][1], method_sig.arg_types[1][1], method_sig.arg_types[2][1]) elsif method_sig.arg_types.length == 4 - create_validator_procedure_medium4(mod, original_method, method_sig, + create_validator_procedure_medium4(mod, original_method, method_sig, original_visibility, method_sig.arg_types[0][1], method_sig.arg_types[1][1], method_sig.arg_types[2][1], @@ -965,8 +965,8 @@ module T::Private::Methods::CallValidation end end - def self.create_validator_procedure_medium0(mod, original_method, method_sig) - mod.send(:define_method, method_sig.method_name) do |&blk| + def self.create_validator_procedure_medium0(mod, original_method, method_sig, original_visibility) + T::Private::ClassUtils.def_with_visibility(mod, method_sig.method_name, original_visibility) do |&blk| # This method is a manually sped-up version of more general code in `validate_call` # The following line breaks are intentional to show nice pry message @@ -988,8 +988,8 @@ module T::Private::Methods::CallValidation end end - def self.create_validator_procedure_medium1(mod, original_method, method_sig, arg0_type) - mod.send(:define_method, method_sig.method_name) do |arg0, &blk| + def self.create_validator_procedure_medium1(mod, original_method, method_sig, original_visibility, arg0_type) + T::Private::ClassUtils.def_with_visibility(mod, method_sig.method_name, original_visibility) do |arg0, &blk| # This method is a manually sped-up version of more general code in `validate_call` unless arg0_type.valid?(arg0) CallValidation.report_error( @@ -1023,8 +1023,8 @@ module T::Private::Methods::CallValidation end end - def self.create_validator_procedure_medium2(mod, original_method, method_sig, arg0_type, arg1_type) - mod.send(:define_method, method_sig.method_name) do |arg0, arg1, &blk| + def self.create_validator_procedure_medium2(mod, original_method, method_sig, original_visibility, arg0_type, arg1_type) + T::Private::ClassUtils.def_with_visibility(mod, method_sig.method_name, original_visibility) do |arg0, arg1, &blk| # This method is a manually sped-up version of more general code in `validate_call` unless arg0_type.valid?(arg0) CallValidation.report_error( @@ -1070,8 +1070,8 @@ module T::Private::Methods::CallValidation end end - def self.create_validator_procedure_medium3(mod, original_method, method_sig, arg0_type, arg1_type, arg2_type) - mod.send(:define_method, method_sig.method_name) do |arg0, arg1, arg2, &blk| + def self.create_validator_procedure_medium3(mod, original_method, method_sig, original_visibility, arg0_type, arg1_type, arg2_type) + T::Private::ClassUtils.def_with_visibility(mod, method_sig.method_name, original_visibility) do |arg0, arg1, arg2, &blk| # This method is a manually sped-up version of more general code in `validate_call` unless arg0_type.valid?(arg0) CallValidation.report_error( @@ -1129,8 +1129,8 @@ module T::Private::Methods::CallValidation end end - def self.create_validator_procedure_medium4(mod, original_method, method_sig, arg0_type, arg1_type, arg2_type, arg3_type) - mod.send(:define_method, method_sig.method_name) do |arg0, arg1, arg2, arg3, &blk| + def self.create_validator_procedure_medium4(mod, original_method, method_sig, original_visibility, arg0_type, arg1_type, arg2_type, arg3_type) + T::Private::ClassUtils.def_with_visibility(mod, method_sig.method_name, original_visibility) do |arg0, arg1, arg2, arg3, &blk| # This method is a manually sped-up version of more general code in `validate_call` unless arg0_type.valid?(arg0) CallValidation.report_error( diff --git a/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/sorbet-runtime-0.5.10175/lib/types/private/methods/decl_builder.rb b/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/sorbet-runtime-0.5.10461/lib/types/private/methods/decl_builder.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/sorbet-runtime-0.5.10175/lib/types/private/methods/decl_builder.rb rename to Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/sorbet-runtime-0.5.10461/lib/types/private/methods/decl_builder.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/sorbet-runtime-0.5.10175/lib/types/private/methods/modes.rb b/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/sorbet-runtime-0.5.10461/lib/types/private/methods/modes.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/sorbet-runtime-0.5.10175/lib/types/private/methods/modes.rb rename to Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/sorbet-runtime-0.5.10461/lib/types/private/methods/modes.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/sorbet-runtime-0.5.10175/lib/types/private/methods/signature.rb b/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/sorbet-runtime-0.5.10461/lib/types/private/methods/signature.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/sorbet-runtime-0.5.10175/lib/types/private/methods/signature.rb rename to Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/sorbet-runtime-0.5.10461/lib/types/private/methods/signature.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/sorbet-runtime-0.5.10175/lib/types/private/methods/signature_validation.rb b/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/sorbet-runtime-0.5.10461/lib/types/private/methods/signature_validation.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/sorbet-runtime-0.5.10175/lib/types/private/methods/signature_validation.rb rename to Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/sorbet-runtime-0.5.10461/lib/types/private/methods/signature_validation.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/sorbet-runtime-0.5.10175/lib/types/private/mixins/mixins.rb b/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/sorbet-runtime-0.5.10461/lib/types/private/mixins/mixins.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/sorbet-runtime-0.5.10175/lib/types/private/mixins/mixins.rb rename to Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/sorbet-runtime-0.5.10461/lib/types/private/mixins/mixins.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/sorbet-runtime-0.5.10175/lib/types/private/retry.rb b/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/sorbet-runtime-0.5.10461/lib/types/private/retry.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/sorbet-runtime-0.5.10175/lib/types/private/retry.rb rename to Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/sorbet-runtime-0.5.10461/lib/types/private/retry.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/sorbet-runtime-0.5.10175/lib/types/private/runtime_levels.rb b/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/sorbet-runtime-0.5.10461/lib/types/private/runtime_levels.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/sorbet-runtime-0.5.10175/lib/types/private/runtime_levels.rb rename to Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/sorbet-runtime-0.5.10461/lib/types/private/runtime_levels.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/sorbet-runtime-0.5.10175/lib/types/private/sealed.rb b/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/sorbet-runtime-0.5.10461/lib/types/private/sealed.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/sorbet-runtime-0.5.10175/lib/types/private/sealed.rb rename to Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/sorbet-runtime-0.5.10461/lib/types/private/sealed.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/sorbet-runtime-0.5.10175/lib/types/private/types/not_typed.rb b/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/sorbet-runtime-0.5.10461/lib/types/private/types/not_typed.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/sorbet-runtime-0.5.10175/lib/types/private/types/not_typed.rb rename to Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/sorbet-runtime-0.5.10461/lib/types/private/types/not_typed.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/sorbet-runtime-0.5.10175/lib/types/private/types/string_holder.rb b/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/sorbet-runtime-0.5.10461/lib/types/private/types/string_holder.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/sorbet-runtime-0.5.10175/lib/types/private/types/string_holder.rb rename to Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/sorbet-runtime-0.5.10461/lib/types/private/types/string_holder.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/sorbet-runtime-0.5.10175/lib/types/private/types/type_alias.rb b/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/sorbet-runtime-0.5.10461/lib/types/private/types/type_alias.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/sorbet-runtime-0.5.10175/lib/types/private/types/type_alias.rb rename to Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/sorbet-runtime-0.5.10461/lib/types/private/types/type_alias.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/sorbet-runtime-0.5.10175/lib/types/private/types/void.rb b/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/sorbet-runtime-0.5.10461/lib/types/private/types/void.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/sorbet-runtime-0.5.10175/lib/types/private/types/void.rb rename to Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/sorbet-runtime-0.5.10461/lib/types/private/types/void.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/sorbet-runtime-0.5.10175/lib/types/props/_props.rb b/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/sorbet-runtime-0.5.10461/lib/types/props/_props.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/sorbet-runtime-0.5.10175/lib/types/props/_props.rb rename to Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/sorbet-runtime-0.5.10461/lib/types/props/_props.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/sorbet-runtime-0.5.10175/lib/types/props/constructor.rb b/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/sorbet-runtime-0.5.10461/lib/types/props/constructor.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/sorbet-runtime-0.5.10175/lib/types/props/constructor.rb rename to Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/sorbet-runtime-0.5.10461/lib/types/props/constructor.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/sorbet-runtime-0.5.10175/lib/types/props/custom_type.rb b/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/sorbet-runtime-0.5.10461/lib/types/props/custom_type.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/sorbet-runtime-0.5.10175/lib/types/props/custom_type.rb rename to Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/sorbet-runtime-0.5.10461/lib/types/props/custom_type.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/sorbet-runtime-0.5.10175/lib/types/props/decorator.rb b/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/sorbet-runtime-0.5.10461/lib/types/props/decorator.rb similarity index 98% rename from Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/sorbet-runtime-0.5.10175/lib/types/props/decorator.rb rename to Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/sorbet-runtime-0.5.10461/lib/types/props/decorator.rb index 679a32584b..8013495fd8 100644 --- a/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/sorbet-runtime-0.5.10175/lib/types/props/decorator.rb +++ b/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/sorbet-runtime-0.5.10461/lib/types/props/decorator.rb @@ -300,7 +300,9 @@ class T::Props::Decorator .checked(:never) end private def prop_nilable?(cls, rules) - T::Utils::Nilable.is_union_with_nilclass(cls) || (cls == T.untyped && rules.key?(:default) && rules[:default].nil?) + # NB: `prop` and `const` do not `T::Utils::coerce the type of the prop if it is a `Module`, + # hence the bare `NilClass` check. + T::Utils::Nilable.is_union_with_nilclass(cls) || ((cls == T.untyped || cls == NilClass) && rules.key?(:default) && rules[:default].nil?) end # checked(:never) - Rules hash is expensive to check diff --git a/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/sorbet-runtime-0.5.10175/lib/types/props/errors.rb b/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/sorbet-runtime-0.5.10461/lib/types/props/errors.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/sorbet-runtime-0.5.10175/lib/types/props/errors.rb rename to Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/sorbet-runtime-0.5.10461/lib/types/props/errors.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/sorbet-runtime-0.5.10175/lib/types/props/generated_code_validation.rb b/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/sorbet-runtime-0.5.10461/lib/types/props/generated_code_validation.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/sorbet-runtime-0.5.10175/lib/types/props/generated_code_validation.rb rename to Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/sorbet-runtime-0.5.10461/lib/types/props/generated_code_validation.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/sorbet-runtime-0.5.10175/lib/types/props/has_lazily_specialized_methods.rb b/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/sorbet-runtime-0.5.10461/lib/types/props/has_lazily_specialized_methods.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/sorbet-runtime-0.5.10175/lib/types/props/has_lazily_specialized_methods.rb rename to Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/sorbet-runtime-0.5.10461/lib/types/props/has_lazily_specialized_methods.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/sorbet-runtime-0.5.10175/lib/types/props/optional.rb b/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/sorbet-runtime-0.5.10461/lib/types/props/optional.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/sorbet-runtime-0.5.10175/lib/types/props/optional.rb rename to Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/sorbet-runtime-0.5.10461/lib/types/props/optional.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/sorbet-runtime-0.5.10175/lib/types/props/plugin.rb b/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/sorbet-runtime-0.5.10461/lib/types/props/plugin.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/sorbet-runtime-0.5.10175/lib/types/props/plugin.rb rename to Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/sorbet-runtime-0.5.10461/lib/types/props/plugin.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/sorbet-runtime-0.5.10175/lib/types/props/pretty_printable.rb b/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/sorbet-runtime-0.5.10461/lib/types/props/pretty_printable.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/sorbet-runtime-0.5.10175/lib/types/props/pretty_printable.rb rename to Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/sorbet-runtime-0.5.10461/lib/types/props/pretty_printable.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/sorbet-runtime-0.5.10175/lib/types/props/private/apply_default.rb b/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/sorbet-runtime-0.5.10461/lib/types/props/private/apply_default.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/sorbet-runtime-0.5.10175/lib/types/props/private/apply_default.rb rename to Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/sorbet-runtime-0.5.10461/lib/types/props/private/apply_default.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/sorbet-runtime-0.5.10175/lib/types/props/private/deserializer_generator.rb b/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/sorbet-runtime-0.5.10461/lib/types/props/private/deserializer_generator.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/sorbet-runtime-0.5.10175/lib/types/props/private/deserializer_generator.rb rename to Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/sorbet-runtime-0.5.10461/lib/types/props/private/deserializer_generator.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/sorbet-runtime-0.5.10175/lib/types/props/private/parser.rb b/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/sorbet-runtime-0.5.10461/lib/types/props/private/parser.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/sorbet-runtime-0.5.10175/lib/types/props/private/parser.rb rename to Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/sorbet-runtime-0.5.10461/lib/types/props/private/parser.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/sorbet-runtime-0.5.10175/lib/types/props/private/serde_transform.rb b/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/sorbet-runtime-0.5.10461/lib/types/props/private/serde_transform.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/sorbet-runtime-0.5.10175/lib/types/props/private/serde_transform.rb rename to Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/sorbet-runtime-0.5.10461/lib/types/props/private/serde_transform.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/sorbet-runtime-0.5.10175/lib/types/props/private/serializer_generator.rb b/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/sorbet-runtime-0.5.10461/lib/types/props/private/serializer_generator.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/sorbet-runtime-0.5.10175/lib/types/props/private/serializer_generator.rb rename to Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/sorbet-runtime-0.5.10461/lib/types/props/private/serializer_generator.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/sorbet-runtime-0.5.10175/lib/types/props/private/setter_factory.rb b/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/sorbet-runtime-0.5.10461/lib/types/props/private/setter_factory.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/sorbet-runtime-0.5.10175/lib/types/props/private/setter_factory.rb rename to Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/sorbet-runtime-0.5.10461/lib/types/props/private/setter_factory.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/sorbet-runtime-0.5.10175/lib/types/props/serializable.rb b/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/sorbet-runtime-0.5.10461/lib/types/props/serializable.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/sorbet-runtime-0.5.10175/lib/types/props/serializable.rb rename to Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/sorbet-runtime-0.5.10461/lib/types/props/serializable.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/sorbet-runtime-0.5.10175/lib/types/props/type_validation.rb b/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/sorbet-runtime-0.5.10461/lib/types/props/type_validation.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/sorbet-runtime-0.5.10175/lib/types/props/type_validation.rb rename to Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/sorbet-runtime-0.5.10461/lib/types/props/type_validation.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/sorbet-runtime-0.5.10175/lib/types/props/utils.rb b/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/sorbet-runtime-0.5.10461/lib/types/props/utils.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/sorbet-runtime-0.5.10175/lib/types/props/utils.rb rename to Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/sorbet-runtime-0.5.10461/lib/types/props/utils.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/sorbet-runtime-0.5.10175/lib/types/props/weak_constructor.rb b/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/sorbet-runtime-0.5.10461/lib/types/props/weak_constructor.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/sorbet-runtime-0.5.10175/lib/types/props/weak_constructor.rb rename to Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/sorbet-runtime-0.5.10461/lib/types/props/weak_constructor.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/sorbet-runtime-0.5.10175/lib/types/sig.rb b/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/sorbet-runtime-0.5.10461/lib/types/sig.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/sorbet-runtime-0.5.10175/lib/types/sig.rb rename to Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/sorbet-runtime-0.5.10461/lib/types/sig.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/sorbet-runtime-0.5.10175/lib/types/struct.rb b/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/sorbet-runtime-0.5.10461/lib/types/struct.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/sorbet-runtime-0.5.10175/lib/types/struct.rb rename to Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/sorbet-runtime-0.5.10461/lib/types/struct.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/sorbet-runtime-0.5.10175/lib/types/types/attached_class.rb b/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/sorbet-runtime-0.5.10461/lib/types/types/attached_class.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/sorbet-runtime-0.5.10175/lib/types/types/attached_class.rb rename to Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/sorbet-runtime-0.5.10461/lib/types/types/attached_class.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/sorbet-runtime-0.5.10175/lib/types/types/base.rb b/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/sorbet-runtime-0.5.10461/lib/types/types/base.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/sorbet-runtime-0.5.10175/lib/types/types/base.rb rename to Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/sorbet-runtime-0.5.10461/lib/types/types/base.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/sorbet-runtime-0.5.10175/lib/types/types/class_of.rb b/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/sorbet-runtime-0.5.10461/lib/types/types/class_of.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/sorbet-runtime-0.5.10175/lib/types/types/class_of.rb rename to Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/sorbet-runtime-0.5.10461/lib/types/types/class_of.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/sorbet-runtime-0.5.10175/lib/types/types/enum.rb b/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/sorbet-runtime-0.5.10461/lib/types/types/enum.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/sorbet-runtime-0.5.10175/lib/types/types/enum.rb rename to Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/sorbet-runtime-0.5.10461/lib/types/types/enum.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/sorbet-runtime-0.5.10175/lib/types/types/fixed_array.rb b/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/sorbet-runtime-0.5.10461/lib/types/types/fixed_array.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/sorbet-runtime-0.5.10175/lib/types/types/fixed_array.rb rename to Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/sorbet-runtime-0.5.10461/lib/types/types/fixed_array.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/sorbet-runtime-0.5.10175/lib/types/types/fixed_hash.rb b/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/sorbet-runtime-0.5.10461/lib/types/types/fixed_hash.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/sorbet-runtime-0.5.10175/lib/types/types/fixed_hash.rb rename to Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/sorbet-runtime-0.5.10461/lib/types/types/fixed_hash.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/sorbet-runtime-0.5.10175/lib/types/types/intersection.rb b/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/sorbet-runtime-0.5.10461/lib/types/types/intersection.rb similarity index 94% rename from Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/sorbet-runtime-0.5.10175/lib/types/types/intersection.rb rename to Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/sorbet-runtime-0.5.10461/lib/types/types/intersection.rb index 8e4b42f187..e55295fe1c 100644 --- a/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/sorbet-runtime-0.5.10175/lib/types/types/intersection.rb +++ b/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/sorbet-runtime-0.5.10461/lib/types/types/intersection.rb @@ -20,7 +20,7 @@ module T::Types # overrides Base def name - "T.all(#{@types.map(&:name).sort.join(', ')})" + "T.all(#{@types.map(&:name).compact.sort.join(', ')})" end # overrides Base diff --git a/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/sorbet-runtime-0.5.10175/lib/types/types/noreturn.rb b/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/sorbet-runtime-0.5.10461/lib/types/types/noreturn.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/sorbet-runtime-0.5.10175/lib/types/types/noreturn.rb rename to Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/sorbet-runtime-0.5.10461/lib/types/types/noreturn.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/sorbet-runtime-0.5.10175/lib/types/types/proc.rb b/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/sorbet-runtime-0.5.10461/lib/types/types/proc.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/sorbet-runtime-0.5.10175/lib/types/types/proc.rb rename to Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/sorbet-runtime-0.5.10461/lib/types/types/proc.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/sorbet-runtime-0.5.10175/lib/types/types/self_type.rb b/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/sorbet-runtime-0.5.10461/lib/types/types/self_type.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/sorbet-runtime-0.5.10175/lib/types/types/self_type.rb rename to Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/sorbet-runtime-0.5.10461/lib/types/types/self_type.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/sorbet-runtime-0.5.10175/lib/types/types/simple.rb b/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/sorbet-runtime-0.5.10461/lib/types/types/simple.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/sorbet-runtime-0.5.10175/lib/types/types/simple.rb rename to Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/sorbet-runtime-0.5.10461/lib/types/types/simple.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/sorbet-runtime-0.5.10175/lib/types/types/t_enum.rb b/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/sorbet-runtime-0.5.10461/lib/types/types/t_enum.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/sorbet-runtime-0.5.10175/lib/types/types/t_enum.rb rename to Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/sorbet-runtime-0.5.10461/lib/types/types/t_enum.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/sorbet-runtime-0.5.10175/lib/types/types/type_member.rb b/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/sorbet-runtime-0.5.10461/lib/types/types/type_member.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/sorbet-runtime-0.5.10175/lib/types/types/type_member.rb rename to Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/sorbet-runtime-0.5.10461/lib/types/types/type_member.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/sorbet-runtime-0.5.10175/lib/types/types/type_parameter.rb b/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/sorbet-runtime-0.5.10461/lib/types/types/type_parameter.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/sorbet-runtime-0.5.10175/lib/types/types/type_parameter.rb rename to Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/sorbet-runtime-0.5.10461/lib/types/types/type_parameter.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/sorbet-runtime-0.5.10175/lib/types/types/type_template.rb b/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/sorbet-runtime-0.5.10461/lib/types/types/type_template.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/sorbet-runtime-0.5.10175/lib/types/types/type_template.rb rename to Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/sorbet-runtime-0.5.10461/lib/types/types/type_template.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/sorbet-runtime-0.5.10175/lib/types/types/type_variable.rb b/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/sorbet-runtime-0.5.10461/lib/types/types/type_variable.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/sorbet-runtime-0.5.10175/lib/types/types/type_variable.rb rename to Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/sorbet-runtime-0.5.10461/lib/types/types/type_variable.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/sorbet-runtime-0.5.10175/lib/types/types/typed_array.rb b/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/sorbet-runtime-0.5.10461/lib/types/types/typed_array.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/sorbet-runtime-0.5.10175/lib/types/types/typed_array.rb rename to Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/sorbet-runtime-0.5.10461/lib/types/types/typed_array.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/sorbet-runtime-0.5.10175/lib/types/types/typed_enumerable.rb b/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/sorbet-runtime-0.5.10461/lib/types/types/typed_enumerable.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/sorbet-runtime-0.5.10175/lib/types/types/typed_enumerable.rb rename to Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/sorbet-runtime-0.5.10461/lib/types/types/typed_enumerable.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/sorbet-runtime-0.5.10175/lib/types/types/typed_enumerator.rb b/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/sorbet-runtime-0.5.10461/lib/types/types/typed_enumerator.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/sorbet-runtime-0.5.10175/lib/types/types/typed_enumerator.rb rename to Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/sorbet-runtime-0.5.10461/lib/types/types/typed_enumerator.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/sorbet-runtime-0.5.10175/lib/types/types/typed_enumerator_lazy.rb b/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/sorbet-runtime-0.5.10461/lib/types/types/typed_enumerator_lazy.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/sorbet-runtime-0.5.10175/lib/types/types/typed_enumerator_lazy.rb rename to Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/sorbet-runtime-0.5.10461/lib/types/types/typed_enumerator_lazy.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/sorbet-runtime-0.5.10175/lib/types/types/typed_hash.rb b/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/sorbet-runtime-0.5.10461/lib/types/types/typed_hash.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/sorbet-runtime-0.5.10175/lib/types/types/typed_hash.rb rename to Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/sorbet-runtime-0.5.10461/lib/types/types/typed_hash.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/sorbet-runtime-0.5.10175/lib/types/types/typed_range.rb b/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/sorbet-runtime-0.5.10461/lib/types/types/typed_range.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/sorbet-runtime-0.5.10175/lib/types/types/typed_range.rb rename to Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/sorbet-runtime-0.5.10461/lib/types/types/typed_range.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/sorbet-runtime-0.5.10175/lib/types/types/typed_set.rb b/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/sorbet-runtime-0.5.10461/lib/types/types/typed_set.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/sorbet-runtime-0.5.10175/lib/types/types/typed_set.rb rename to Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/sorbet-runtime-0.5.10461/lib/types/types/typed_set.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/sorbet-runtime-0.5.10175/lib/types/types/union.rb b/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/sorbet-runtime-0.5.10461/lib/types/types/union.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/sorbet-runtime-0.5.10175/lib/types/types/union.rb rename to Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/sorbet-runtime-0.5.10461/lib/types/types/union.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/sorbet-runtime-0.5.10175/lib/types/types/untyped.rb b/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/sorbet-runtime-0.5.10461/lib/types/types/untyped.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/sorbet-runtime-0.5.10175/lib/types/types/untyped.rb rename to Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/sorbet-runtime-0.5.10461/lib/types/types/untyped.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/sorbet-runtime-0.5.10175/lib/types/utils.rb b/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/sorbet-runtime-0.5.10461/lib/types/utils.rb similarity index 98% rename from Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/sorbet-runtime-0.5.10175/lib/types/utils.rb rename to Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/sorbet-runtime-0.5.10461/lib/types/utils.rb index 7897eaa38f..4aa60fa74b 100644 --- a/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/sorbet-runtime-0.5.10175/lib/types/utils.rb +++ b/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/sorbet-runtime-0.5.10461/lib/types/utils.rb @@ -32,7 +32,7 @@ module T::Utils # in some cases this runtime check can be very expensive, especially # with large collections of objects. def self.check_type_recursive!(value, type) - T::Private::Casts.cast_recursive(value, type, cast_method: "T.check_type_recursive!") + T::Private::Casts.cast_recursive(value, type, "T.check_type_recursive!") end # Returns the set of all methods (public, protected, private) defined on a module or its