sorbet-runtime 0.4.4825 → 0.4.4833

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 98e1cb6c2ad4bee644afa28628d38e196f7485e08353396321f0bffd20880800
4
- data.tar.gz: 8c28989fe80bbd97c5f3e9603c3a3a04bfb9d7beb8177ee3dc86a9de8ce587f5
3
+ metadata.gz: 2af867985593ab98329c3909931d52d7caf794d9c14e180797d33a17a861cba6
4
+ data.tar.gz: 8a500b58db570beb50b4f2621c87e02eca673023ad4d4078b0ba71dfa58b804d
5
5
  SHA512:
6
- metadata.gz: f2bbeef9c0e3157f488848ed337e1f264f314d40526438b64989c798de459efb50a5d3f9706b07ce6270c35f115a27a40350b13ab6644bfe6ea3bd422d43f5ef
7
- data.tar.gz: 4560f88cf0a688119cd900e33bb02eaa074537f59562053e7238c41c5e184b74175a333ba6ea59719dadba1e4c82d37b0fa0404877312b843bc54f1128114fa7
6
+ metadata.gz: a48ecfbecf4676bb06f95b782df3bf2dc758f0947460a399fbb925991201530319cd96dd6833756bcd8f5aa4bdb253c394917103dec5e3b3bcd6a46c0a91ae28
7
+ data.tar.gz: 96f1421933227b2d60487d63e1c4d31c81cb097580664c1e1c1927bff23a713fb7eadafb1b4c105b714293eed6afb15c9af5db63f22b9826511055d4dae19586
@@ -58,11 +58,7 @@ module T::Private::Methods::SignatureValidation
58
58
  def self.validate_override_mode(signature, super_signature)
59
59
  case signature.mode
60
60
  when *Modes::OVERRIDE_MODES
61
- if !Modes::OVERRIDABLE_MODES.include?(super_signature.mode)
62
- raise "You declared `#{signature.method_name}` as #{pretty_mode(signature)}, but the method it overrides is not declared as `overridable` or `abstract`.\n" \
63
- " Parent definition: #{method_loc_str(super_signature.method)}\n" \
64
- " Child definition: #{method_loc_str(signature.method)}\n"
65
- end
61
+ # Peaceful
66
62
  when *Modes::NON_OVERRIDE_MODES
67
63
  if super_signature.mode == Modes.standard
68
64
  # Peaceful
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sorbet-runtime
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.4825
4
+ version: 0.4.4833
5
5
  platform: ruby
6
6
  authors:
7
7
  - Stripe
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-10-03 00:00:00.000000000 Z
11
+ date: 2019-10-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: minitest