HelperScannerTest was failing to find any render calls because the first user in user: user has type of :SYM now instead of :LIT
Ripper parser was failing on extra whitespace, so I'm just removing one level of nesting in there, not sure if it's a right way to do that
Ripper parser was also failing to parse things like render FooComponent.new(bar: buzz) because call_method_name in that case was returning the bar: buzz part 😬 I don't think that type of renders were supported before anyway, so I just made a guard clause around it
HelperScannerTest
was failing to find any render calls because the firstuser
inuser: user
has type of:SYM
now instead of:LIT
Ripper
parser was failing on extra whitespace, so I'm just removing one level of nesting in there, not sure if it's a right way to do thatRipper
parser was also failing to parse things likerender FooComponent.new(bar: buzz)
becausecall_method_name
in that case was returning thebar: buzz
part 😬 I don't think that type of renders were supported before anyway, so I just made a guard clause around it