diff options
author | Gopal Patel <nixme@stillhope.com> | 2023-12-18 14:22:21 -0800 |
---|---|---|
committer | git <svn-admin@ruby-lang.org> | 2024-02-24 03:39:19 +0000 |
commit | b9b0712556980a3af91c976c3fee8ba0e21c39a0 (patch) | |
tree | c8ed2454b0e26d4aed8ea5391f2a735e6f9327f1 /lib/prism/desugar_compiler.rb | |
parent | fc656acee9d17f72d9f7b09630d7f03e981beef3 (diff) |
[ruby/prism] Use steep to type check RBS and Ruby files
https://github.com/ruby/prism/commit/eabed9f4fd
Diffstat (limited to 'lib/prism/desugar_compiler.rb')
-rw-r--r-- | lib/prism/desugar_compiler.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/prism/desugar_compiler.rb b/lib/prism/desugar_compiler.rb index 00b3097f9f..8d059b0c98 100644 --- a/lib/prism/desugar_compiler.rb +++ b/lib/prism/desugar_compiler.rb @@ -82,7 +82,7 @@ module Prism 0, read_class.new(source, *arguments, node.name_loc), nil, - node.operator_loc.slice.chomp("="), + node.operator_loc.slice.chomp("=").to_sym, node.operator_loc.copy(length: node.operator_loc.length - 1), nil, ArgumentsNode.new(source, 0, [node.value], node.value.location), |