steep 1.5.2 → 1.5.3

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: d2971f6bf7e70b227ac38de9682f640c8b274d8c27db2e02ec6920163d9e26df
4
- data.tar.gz: 6f756247c85e018f5b2feaac36238480438495d242994f9dd23ccacd52e195d2
3
+ metadata.gz: c6fac293e42dfa305b98aa0f8dbf49acdad88f0794a6081f7c6e548ccab49f4b
4
+ data.tar.gz: 2824c6289d92fadc1d062571d9652d759fc7774531d532d2bcf846ce20240bec
5
5
  SHA512:
6
- metadata.gz: f4ae7293b7ba2f8a33c96e470346f853f83afff373f5724a094c788841602cff54ad911ea74d73cc63471383f8fe043b217fef6528d4d6a6d91cb3351dc358e7
7
- data.tar.gz: 720040f41d6a7c0fa11facd1bc0b8e0860cd54d3572fd698807894ff6c4fe33beea6c9fff8a4a1bd115e3b494021590ef33bfcd7035556a46cbcc00455943292
6
+ metadata.gz: 800d77371db9fcc77688a30c442355d84f31cbbf21ccc7fda46155e394b011887b98b1c47f3f9a9a117087c4790a3fecfee9ac4bdbfb4dea096deafa959e2d96
7
+ data.tar.gz: 2d1eed9a3397eeeb1c5675a7038acbf5cdab173aec3285d8c88df925f9fe7d07bf4ef0f248ae7df5895bef21509bc0e2156883c84a7bdb4a53598b1608041864
data/CHANGELOG.md CHANGED
@@ -2,6 +2,12 @@
2
2
 
3
3
  ## master
4
4
 
5
+ ## 1.5.3 (2023-08-10)
6
+
7
+ ### Type checker core
8
+
9
+ * Fix type checking parenthesized conditional nodes ([#896](https://github.com/soutaro/steep/pull/896))
10
+
5
11
  ## 1.5.2 (2023-07-27)
6
12
 
7
13
  ### Type checker core
data/Gemfile CHANGED
@@ -10,7 +10,3 @@ group :stackprof, optional: true do
10
10
  gem "stackprof"
11
11
  end
12
12
  gem 'minitest-slow_test'
13
-
14
- group :development do
15
- gem "ruby-lsp", require: false
16
- end
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- steep (1.5.2)
4
+ steep (1.5.3)
5
5
  activesupport (>= 5.1)
6
6
  concurrent-ruby (>= 1.1.10)
7
7
  csv (>= 3.0.9)
@@ -20,7 +20,7 @@ PATH
20
20
  GEM
21
21
  remote: https://rubygems.org/
22
22
  specs:
23
- activesupport (7.0.6)
23
+ activesupport (7.0.7)
24
24
  concurrent-ruby (~> 1.0, >= 1.0.2)
25
25
  i18n (>= 1.6, < 2)
26
26
  minitest (>= 5.1)
@@ -39,31 +39,23 @@ GEM
39
39
  rb-inotify (~> 0.9, >= 0.9.10)
40
40
  logger (1.5.3)
41
41
  minitest (5.19.0)
42
- minitest-hooks (1.5.0)
42
+ minitest-hooks (1.5.1)
43
43
  minitest (> 5.3)
44
44
  minitest-slow_test (0.2.0)
45
45
  minitest (>= 5.0)
46
46
  parser (3.2.2.3)
47
47
  ast (~> 2.4.1)
48
48
  racc
49
- prettier_print (1.2.1)
50
49
  racc (1.7.1)
51
50
  rainbow (3.1.1)
52
51
  rake (13.0.6)
53
52
  rb-fsevent (0.11.2)
54
53
  rb-inotify (0.10.1)
55
54
  ffi (~> 1.0)
56
- rbs (3.1.1)
57
- ruby-lsp (0.5.1)
58
- language_server-protocol (~> 3.17.0)
59
- sorbet-runtime
60
- syntax_tree (>= 6.1.1, < 7)
55
+ rbs (3.1.3)
61
56
  securerandom (0.2.2)
62
- sorbet-runtime (0.5.10832)
63
57
  stackprof (0.2.25)
64
58
  strscan (3.0.6)
65
- syntax_tree (6.1.1)
66
- prettier_print (>= 1.2.0)
67
59
  terminal-table (3.0.2)
68
60
  unicode-display_width (>= 1.1.1, < 3)
69
61
  tzinfo (2.0.6)
@@ -78,7 +70,6 @@ DEPENDENCIES
78
70
  minitest-hooks
79
71
  minitest-slow_test
80
72
  rake
81
- ruby-lsp
82
73
  stackprof
83
74
  steep!
84
75
 
@@ -19,7 +19,7 @@ GEM
19
19
  rb-fsevent (~> 0.10, >= 0.10.3)
20
20
  rb-inotify (~> 0.9, >= 0.9.10)
21
21
  logger (1.5.3)
22
- minitest (5.18.1)
22
+ minitest (5.19.0)
23
23
  parser (3.2.2.3)
24
24
  ast (~> 2.4.1)
25
25
  racc
@@ -28,9 +28,9 @@ GEM
28
28
  rb-fsevent (0.11.2)
29
29
  rb-inotify (0.10.1)
30
30
  ffi (~> 1.0)
31
- rbs (3.1.1)
31
+ rbs (3.1.2)
32
32
  securerandom (0.2.2)
33
- steep (1.5.1)
33
+ steep (1.5.2)
34
34
  activesupport (>= 5.1)
35
35
  concurrent-ruby (>= 1.1.10)
36
36
  csv (>= 3.0.9)
@@ -710,7 +710,7 @@ module Steep
710
710
  end
711
711
  end
712
712
 
713
- p = pair.constr.synthesize(last_node, hint: hint)
713
+ p = pair.constr.synthesize(last_node, hint: hint, condition: condition)
714
714
  last_pair = pair + p
715
715
  last_pair.constr.add_typing(node, type: last_pair.type, constr: last_pair.constr)
716
716
  else
data/lib/steep/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Steep
2
- VERSION = "1.5.2"
2
+ VERSION = "1.5.3"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: steep
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.5.2
4
+ version: 1.5.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Soutaro Matsumoto
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2023-07-27 00:00:00.000000000 Z
11
+ date: 2023-08-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: parser