diff options
author | Kevin Newton <[email protected]> | 2024-03-06 13:55:11 -0500 |
---|---|---|
committer | Kevin Newton <[email protected]> | 2024-03-06 21:42:54 -0500 |
commit | 48ca2ce5fc6a7ed8f8fd0e5ead40c160369e2a4c () | |
tree | eb3635832a3e84ac7ebeebe123faaaf8afb1d34c | |
parent | 56026edabaec6002069084bc41fa89fa1b0b1d96 (diff) |
[ruby/prism] Dis on_tlambda and on_tlambeg
https://.com/ruby/prism/commit/1ca58e0121
-rw-r--r-- | lib/prism/translation/ripper.rb | 10 |
1 files changed, 8 insertions, 2 deletions
@@ -37,8 +37,6 @@ module Prism # * on_semicolon # * on_sp # * on_symbeg - # * on_tlambda - # * on_tlambeg # * on_tstring_beg # * on_tstring_end # @@ -2243,6 +2241,9 @@ module Prism # -> {} def visit_lambda_node(node) parameters = if node.parameters.is_a?(BlockParametersNode) # Ripper does not track block-locals within lambdas, so we skip @@ -2267,6 +2268,11 @@ module Prism end braces = node.opening == "{" body = case node.body when nil |