We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent aa883b0 commit 2acb440Copy full SHA for 2acb440
1 file changed
lib/problematic_variable_finder/parsing.rb
@@ -54,7 +54,7 @@ def line
54
def first_child
55
child = sexp.children.first
56
case child
57
- when Symbol
+ when Symbol, String
58
child
59
else
60
self.class.new(child, to_a(child))
@@ -64,7 +64,7 @@ def first_child
64
def last_child
65
child = sexp.children.last
66
67
68
69
70
0 commit comments