sorbet-runtime 0.4.4486 → 0.4.4487
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/final.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2ee75a2ee34f8809233fada73409e6d144ac8cb6
|
4
|
+
data.tar.gz: 882a5e03a740756e4a8c7b8a45df97d6ad808167
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2f1a256b9682902836e22df3dec6c9152bec0fe3bdd188d0f32d678b1fa83b273c357136a6eb116ef28bc5f4dd0ae89a2a72116a9713aa9a3849aa6a98b95e56
|
7
|
+
data.tar.gz: 9202d988fe5a2ca344f73297c33a5f2998ac3102283890def4692436be7f0a57b0fb511ed0e9d51d56029a500ae503e70361ad19274d2cf62e0ecb68f8c11b4a
|
data/lib/types/private/final.rb
CHANGED
@@ -23,7 +23,7 @@ module T::Private::Final
|
|
23
23
|
|
24
24
|
def self.declare(mod)
|
25
25
|
if !mod.is_a?(Module)
|
26
|
-
raise "#{mod.
|
26
|
+
raise "#{mod.inspect} is not a class or module and cannot be declared as final with `final!`"
|
27
27
|
end
|
28
28
|
if final_module?(mod)
|
29
29
|
raise "#{mod.name} was already declared as final and cannot be re-declared as final"
|