typeprof 0.20.2 → 0.20.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +4 -4
- data/lib/typeprof/type.rb +4 -4
- data/lib/typeprof/version.rb +1 -1
- data/vscode/package-lock.json +1069 -31
- data/vscode/package.json +3 -3
- data/vscode/src/extension.ts +28 -14
- 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: 3ee0445d195b9ab48538b37afc382d3b48d74c4fd9c5628010a3ac5084349259
|
4
|
+
data.tar.gz: 183309d5b70590396a7b0eec078b1b980b5e38877d5d756e66e03acefb971055
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2b43a67c81128f11a34bd3d9aeecad1763e3baf7a8498e68c411fa652579213519956a6ff4d301873b8d9291d1ce89f1c1e33f0379846df620118d47b42add0f
|
7
|
+
data.tar.gz: e1768b62ac2fe976fb94abe2fbf41656002f80e8016cd8c5e634a44770a4a8eeafb1e50bc5003a774d84621a5c14fbad9fef4eb40c9c383b9b48bee74ca05907
|
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
typeprof (0.20.
|
4
|
+
typeprof (0.20.3)
|
5
5
|
rbs (>= 1.6.2)
|
6
6
|
|
7
7
|
GEM
|
@@ -9,9 +9,9 @@ GEM
|
|
9
9
|
specs:
|
10
10
|
coverage-helpers (1.0.0)
|
11
11
|
docile (1.4.0)
|
12
|
-
power_assert (2.0.
|
12
|
+
power_assert (2.0.1)
|
13
13
|
rake (13.0.1)
|
14
|
-
rbs (1.
|
14
|
+
rbs (1.7.0)
|
15
15
|
simplecov (0.21.2)
|
16
16
|
docile (~> 1.1)
|
17
17
|
simplecov-html (~> 0.11)
|
@@ -19,7 +19,7 @@ GEM
|
|
19
19
|
simplecov-html (0.12.3)
|
20
20
|
simplecov_json_formatter (0.1.3)
|
21
21
|
stackprof (0.2.17)
|
22
|
-
test-unit (3.
|
22
|
+
test-unit (3.5.1)
|
23
23
|
power_assert
|
24
24
|
|
25
25
|
PLATFORMS
|
data/lib/typeprof/type.rb
CHANGED
@@ -422,22 +422,22 @@ module TypeProf
|
|
422
422
|
end
|
423
423
|
|
424
424
|
def self.any
|
425
|
-
|
425
|
+
Thread.current[:any] ||= Any.new
|
426
426
|
end
|
427
427
|
|
428
428
|
def self.bot
|
429
|
-
|
429
|
+
Thread.current[:bot] ||= Union.new(Utils::Set[], nil)
|
430
430
|
end
|
431
431
|
|
432
432
|
def self.bool
|
433
|
-
|
433
|
+
Thread.current[:bool] ||= Union.new(Utils::Set[
|
434
434
|
Instance.new(Type::Builtin[:true]),
|
435
435
|
Instance.new(Type::Builtin[:false])
|
436
436
|
], nil)
|
437
437
|
end
|
438
438
|
|
439
439
|
def self.nil
|
440
|
-
|
440
|
+
Thread.current[:nil] ||= Instance.new(Type::Builtin[:nil])
|
441
441
|
end
|
442
442
|
|
443
443
|
def self.optional(ty)
|
data/lib/typeprof/version.rb
CHANGED