sorbet-runtime 0.6.13282 → 0.6.13283
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/types/private/methods/_methods.rb +2 -0
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 8d1fdd48689c79093572fa8d2ddc326182044d6eda688339914ead4c2df3408e
|
|
4
|
+
data.tar.gz: b5a5e63990218d9edf088d4e8fb1aeb21c6db4d46b2be89ee496f9fd3fd77abc
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: b7785710f28477878ed6d0363c75f20249cb38da19da858132815a54a359d8bd2e153a8262c6ca55f54f1ff9e4519d9ba09b4eedfd43cf06dfa6261baf69c5a4
|
|
7
|
+
data.tar.gz: 300a13e92ed07c63bd21156e8bd1e960a8d58053c16a5f711b438dbf316c50386312912813718028265b7f0315f915fca57ab5667525d7c3641ec23b4911965c
|
|
@@ -228,6 +228,8 @@ module T::Private::Methods
|
|
|
228
228
|
"to `sig` is immediately followed by a method definition on the same " \
|
|
229
229
|
"class/module."
|
|
230
230
|
end
|
|
231
|
+
# Overwrite the DeclarationBlock mod with `mod`, which is the Module that owns the method.
|
|
232
|
+
current_declaration.mod = mod
|
|
231
233
|
|
|
232
234
|
original_method = mod.instance_method(method_name)
|
|
233
235
|
sig_block = lambda do
|