diff options
| author | Yukihiro "Matz" Matsumoto <[email protected]> | 2018-12-04 08:40:23 +0900 |
|---|---|---|
| committer | Yukihiro "Matz" Matsumoto <[email protected]> | 2018-12-04 08:40:23 +0900 |
| commit | d5d9cc8b62bd173375046d07fc62b75c3e2d807e (patch) | |
| tree | 1bbd2031d07e81c9d372fb6a2c10b61f4acb829d /mrbgems/mruby-class-ext | |
| parent | 6ef4a5fd6b28375ec7c4f066cf8c5364256f83fd (diff) | |
| download | mruby-d5d9cc8b62bd173375046d07fc62b75c3e2d807e.tar.gz mruby-d5d9cc8b62bd173375046d07fc62b75c3e2d807e.zip | |
Remove unnecessary check in `Module#<`; ref #4174
Diffstat (limited to 'mrbgems/mruby-class-ext')
| -rw-r--r-- | mrbgems/mruby-class-ext/mrblib/module.rb | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/mrbgems/mruby-class-ext/mrblib/module.rb b/mrbgems/mruby-class-ext/mrblib/module.rb index 484d63674..8102b5417 100644 --- a/mrbgems/mruby-class-ext/mrblib/module.rb +++ b/mrbgems/mruby-class-ext/mrblib/module.rb @@ -10,7 +10,6 @@ class Module # "class A < B" implies "A < B".) # def <(other) - raise TypeError, 'compared with non class/module' unless other.is_a?(Module) if self.equal?(other) false else |
