sorbet-runtime 0.5.10690 → 0.5.10741
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/types/private/methods/_methods.rb +4 -2
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 91c8e24178df431cde3b9218648bcef5cdd4d7ef572eac38ec55ad1b9758e389
|
4
|
+
data.tar.gz: 44d61dc636005679a09584872971fb57d078debaf37aed6e981eff6cddce600b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 58c8a97cb1f35e6fac24bca9233ec32ceec3080b60a8604cd005b62eec3e71d4f94a6142e019f839850a97f2a31a03d8779c24576d42670a7d9aea4946f9ed9c
|
7
|
+
data.tar.gz: 0b7bc87aa10e703c13bbad9cce4fea5de3cade1044a0a10dc02d63e9a9b9e210dc17f93c9c5e71d39b439b659bea4cf8601f52c9a51dc3aceb8957074133954e
|
@@ -339,9 +339,11 @@ module T::Private::Methods
|
|
339
339
|
nil
|
340
340
|
end
|
341
341
|
|
342
|
+
declaration_block.loc = nil
|
343
|
+
|
342
344
|
signature =
|
343
345
|
if current_declaration
|
344
|
-
build_sig(hook_mod, method_name, original_method, current_declaration
|
346
|
+
build_sig(hook_mod, method_name, original_method, current_declaration)
|
345
347
|
else
|
346
348
|
Signature.new_untyped(method: original_method)
|
347
349
|
end
|
@@ -358,7 +360,7 @@ module T::Private::Methods
|
|
358
360
|
.decl
|
359
361
|
end
|
360
362
|
|
361
|
-
def self.build_sig(hook_mod, method_name, original_method, current_declaration
|
363
|
+
def self.build_sig(hook_mod, method_name, original_method, current_declaration)
|
362
364
|
begin
|
363
365
|
# We allow `sig` in the current module's context (normal case) and
|
364
366
|
if hook_mod != current_declaration.mod &&
|
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.5.
|
4
|
+
version: 0.5.10741
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Stripe
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-03-
|
11
|
+
date: 2023-03-29 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: minitest
|