grzuy (Gonzalo Rodriguez)
- Login: grzuy
- Registered on: 01/26/2018
- Last sign in: 03/29/2018
Issues
| open | closed | Total | |
|---|---|---|---|
| Assigned issues | 0 | 0 | 0 |
| Reported issues | 0 | 2 | 2 |
Activity
02/23/2018
-
02:41 PM Ruby Bug #14545 (Closed): Backport r62071 to ruby 2.5
- Please backport r62071 (https://bugs.ruby-lang.org/issues/14407) to ruby 2.5 to make toplevel constant lookup consistent with `defined?` behavior in than branch.
Thanks!
01/27/2018
-
02:40 AM Ruby Bug #14407: defined? still returning true for top-level constant when referenced with scope
- Related to https://bugs.ruby-lang.org/issues/11547
-
02:32 AM Ruby Bug #14407 (Closed): defined? still returning true for top-level constant when referenced with scope
- ~~~ ruby
class A
end
class B
end
if defined?(A::B)
puts "defined"
puts A::B
else
puts "not defined"
end
~~~
When running this script with ruby 2.5.0 i get:
~~~
defined
Traceback (most recent call last):
...