Closed
Description
Example:
puts SyntaxTree.format <<~RUBY
if a in Integer
puts "a is integer"
end
b => [Integer => c]
RUBY
emits:
puts "a is integer" if a in Integer
b in [Integer => c]
However, as long as you don't use in
earlier in scope, the b
line correctly isn't modified
puts SyntaxTree.format "b => [Integer => c]"
emits
b => [Integer => c]
Happy to take a crack at fixing if you can point me in the right direction.
Metadata
Metadata
Assignees
Labels
No labels