parser 3.3.7.3 → 3.3.7.4

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.
data/lib/parser/ruby32.rb CHANGED
@@ -11585,11 +11585,12 @@ end
11585
11585
 
11586
11586
  def _reduce_548(val, _values, result)
11587
11587
  name = val[1][0]
11588
+ lvar = @builder.accessible(@builder.ident(val[1]))
11589
+
11588
11590
  unless static_env.declared?(name)
11589
11591
  diagnostic :error, :undefined_lvar, { :name => name }, val[1]
11590
11592
  end
11591
11593
 
11592
- lvar = @builder.accessible(@builder.ident(val[1]))
11593
11594
  result = @builder.pin(val[0], lvar)
11594
11595
 
11595
11596
  result
data/lib/parser/ruby33.rb CHANGED
@@ -11471,11 +11471,12 @@ end
11471
11471
 
11472
11472
  def _reduce_548(val, _values, result)
11473
11473
  name = val[1][0]
11474
+ lvar = @builder.accessible(@builder.ident(val[1]))
11475
+
11474
11476
  unless static_env.declared?(name)
11475
11477
  diagnostic :error, :undefined_lvar, { :name => name }, val[1]
11476
11478
  end
11477
11479
 
11478
- lvar = @builder.accessible(@builder.ident(val[1]))
11479
11480
  result = @builder.pin(val[0], lvar)
11480
11481
 
11481
11482
  result
data/lib/parser/ruby34.rb CHANGED
@@ -11478,11 +11478,12 @@ end
11478
11478
 
11479
11479
  def _reduce_548(val, _values, result)
11480
11480
  name = val[1][0]
11481
+ lvar = @builder.accessible(@builder.ident(val[1]))
11482
+
11481
11483
  unless static_env.declared?(name)
11482
11484
  diagnostic :error, :undefined_lvar, { :name => name }, val[1]
11483
11485
  end
11484
11486
 
11485
- lvar = @builder.accessible(@builder.ident(val[1]))
11486
11487
  result = @builder.pin(val[0], lvar)
11487
11488
 
11488
11489
  result
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Parser
4
- VERSION = '3.3.7.3'
4
+ VERSION = '3.3.7.4'
5
5
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: parser
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.3.7.3
4
+ version: 3.3.7.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - whitequark
8
8
  bindir: bin
9
9
  cert_chain: []
10
- date: 2025-03-26 00:00:00.000000000 Z
10
+ date: 2025-03-31 00:00:00.000000000 Z
11
11
  dependencies:
12
12
  - !ruby/object:Gem::Dependency
13
13
  name: ast
@@ -249,9 +249,9 @@ licenses:
249
249
  - MIT
250
250
  metadata:
251
251
  bug_tracker_uri: https://github.com/whitequark/parser/issues
252
- changelog_uri: https://github.com/whitequark/parser/blob/v3.3.7.3/CHANGELOG.md
253
- documentation_uri: https://www.rubydoc.info/gems/parser/3.3.7.3
254
- source_code_uri: https://github.com/whitequark/parser/tree/v3.3.7.3
252
+ changelog_uri: https://github.com/whitequark/parser/blob/v3.3.7.4/CHANGELOG.md
253
+ documentation_uri: https://www.rubydoc.info/gems/parser/3.3.7.4
254
+ source_code_uri: https://github.com/whitequark/parser/tree/v3.3.7.4
255
255
  rdoc_options: []
256
256
  require_paths:
257
257
  - lib