Issue #13142 has been reported by Anatoly Chernow.

----------------------------------------
Bug #13142: Forwardable regression: cannot delegate to a constant since 2.4.0
https://bugs.ruby-lang.org/issues/13142

* Author: Anatoly Chernow
* Status: Open
* Priority: Normal
* Assignee: 
* Target version: 
* ruby -v: 
* Backport: 2.2: UNKNOWN, 2.3: UNKNOWN, 2.4: UNKNOWN
----------------------------------------
Before this commit

https://github.com/ch1c0t/tra/commit/96b15f042183f488413db99d6ede304d20503cbd

it works just fine on 2.3. But on 2.4.0:

```
/usr/lib/ruby/2.4.0/forwardable.rb:222:in `take': uninitialized constant ENUMERATOR (NameError)
Did you mean?  Enumerator
               Enumerable
        from test.rb:16:in `<main>'
```

I report it because it might be an unintentional regression.



-- 
https://bugs.ruby-lang.org/

Unsubscribe: <mailto:ruby-core-request / ruby-lang.org?subject=unsubscribe>
<http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-core>