General

Profile

RickHull (Rick Hull)

  • Registered on: 01/27/2016
  • Last connection: 10/14/2017

Issues

Activity

12/04/2017

04:09 AM Ruby trunk Bug #14148: Longstanding behavior regarding correspondence of toplevel with Object is surprising
Hi @mame,
I agree that the change from warning to NameError is intended, and this behavior change is not the conce...

12/02/2017

06:18 PM Ruby trunk Bug #14148: Longstanding behavior regarding correspondence of toplevel with Object is surprising
I edited the title of this issue. I reported this initially as 2.5.0 issue, as I discovered it while playing around ...
08:07 AM Ruby trunk Bug #14148: Longstanding behavior regarding correspondence of toplevel with Object is surprising
After some clarifying discussions with @matthewd, I don't think is a problem for 2.5. The overall behavior seems con...
01:36 AM Ruby trunk Bug #14148: Longstanding behavior regarding correspondence of toplevel with Object is surprising
Further down the rabbit hole, ruby 2.4.0p0:
~~~ ruby
class BasicObject
X = 1
end
String::X #=> 1
class ...
12:36 AM Ruby trunk Bug #14148: Longstanding behavior regarding correspondence of toplevel with Object is surprising
Behavior on 2.4.0p0:
~~~ ruby
module Kernel
X = 1
end
String::X #=> 1
X = 2
String::X #=> 2
# warni...
12:28 AM Ruby trunk Bug #14148: Longstanding behavior regarding correspondence of toplevel with Object is surprising
Expected behavior: `String::X` should continue to evaluate to `1` after `X = 2` at the toplevel
Actual behavior: `...
12:14 AM Ruby trunk Bug #14148 (Open): Longstanding behavior regarding correspondence of toplevel with Object is surprising
~~~ ruby
module Kernel
X = 1
end
puts String::X
X = 2
puts String::X
~~~
~~~
$ ruby test.rb
1
Tr...

12/01/2017

11:47 PM Ruby trunk Feature #11547: remove top-level constant lookup
Hm, this is surprising:
~~~ ruby
module Kernel
X = 1
end
puts String::X
X = 2
puts String::X
~~~
...

01/24/2017

11:33 AM Ruby trunk Bug #13153 (Open): Inconsistent sprintf formatting for 0 value
```ruby
0.upto(5).map { |i| "%#0.2x" % i }
# expect: ["0x00", "0x01", "0x02", "0x03", "0x04", "0x05"]
# actual...

Also available in: Atom