Skip to content

Commit 6285e31

Browse files
committed
Start tracking failing fixtures in ripper translation
1 parent dfa499d commit 6285e31

File tree

3 files changed

+624
-18
lines changed

3 files changed

+624
-18
lines changed

bin/prism

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -247,7 +247,7 @@ module Prism
247247
source, filepath = read_source(argv)
248248

249249
ripper = Ripper.sexp_raw(source)
250-
prism = Prism::Translation::Ripper.sexp_raw(source) rescue :parse_error
250+
prism = Prism::Translation::Ripper.sexp_raw(source)
251251

252252
puts "Ripper:"
253253
pp ripper

lib/prism/translation/ripper.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1167,7 +1167,7 @@ def visit_interpolated_symbol_node(node)
11671167
end
11681168

11691169
bounds(node.location)
1170-
on_dyna_symbol(contents)
1170+
on_dyna_symbol(parts)
11711171
end
11721172

11731173
# `foo #{bar}`

0 commit comments

Comments
 (0)