Skip to content
Browse files

Default case doesn't have a left.

  • Loading branch information...
1 parent bbab219 commit a287633b24ec4502a7891a6e2071c3bc2973cfc2 @matthewd committed Jan 23, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/capuchin/nodes.rb
View
2 lib/capuchin/nodes.rb
@@ -349,7 +349,7 @@ def initialize(left, value)
@left, @value = left, value
end
def visit(g)
- g.accept left
+ g.accept left if left
g.accept value
end
end

0 comments on commit a287633

Please sign in to comment.
Something went wrong with that request. Please try again.