@liufengyun Actually, we don't need to do so, because of the check on line 79 of diff.rb:

```ruby
!(obj1.is_a?(obj2.class) or obj2.is_a?(obj1.class))
```