General

Profile

rovf (Ronald Fischer)

  • Login: rovf
  • Email: ynnor@mm.st
  • Registered on: 03/20/2015
  • Last sign in: 01/07/2020

Issues

open closed Total
Assigned issues 0 0 0
Reported issues 4 9 13

Activity

06/18/2019

12:47 PM Ruby Feature #5400: Remove flip-flops in 2.0
judofyr (Magnus Holm) wrote:
> Nobody knows them. Nobody uses them. Let's just get rid of flip-flops, shall we?
Do NOT remove this useful feature!!! I used it a lot already in Perl, and now using it in Ruby too. The deprecation warni...
rovf (Ronald Fischer)

06/10/2019

11:15 AM Ruby Bug #15910 (Rejected): $. doesn't hold the linenumber anymore when reading a CSV-file using the CSV class
Example program:
```
require 'csv'
IFS=';'
CSV_OPTIONS = { col_sep: IFS, external_encoding: Encoding::ISO_8859_1, internal_encoding: Encoding::UTF_8 }
CSV.new($stdin, CSV_OPTIONS).each do
|row|
puts "::::line #{$.} row=#...
rovf (Ronald Fischer)

08/15/2017

03:19 PM Ruby Bug #13817: test/unit breaks Hash
Bug reported at https://github.com/k-tsj/power_assert/issues/19
rovf (Ronald Fischer)
11:18 AM Ruby Bug #13817 (Closed): test/unit breaks Hash
Consider the following program:
~~~ruby
#!/usr/bin/env ruby
BEGIN {$VERBOSE = true}
require 'test/unit'
class Hash
STDERR.puts method_defined?(:<<)
alias << merge!
STDERR.puts method_defined?(:<<)
end
~~~
In older Ru...
rovf (Ronald Fischer)

07/24/2017

12:16 PM Ruby Feature #13763 (Open): Trigger "unused variable warning" for unused variables in parameter lists
Consider the following program nowa.rb:
~~~
def foo(a)
end
%w(x).each {|y|}
foo(1)
z=5
~~~
If I syntax-check it with *ruby -cw nowa.rb* I get the following warning:
~~~
nowa.rb:5: warning: assigned but unused variable - z...
rovf (Ronald Fischer)

06/06/2017

08:12 AM Ruby Misc #13634 (Open): NilClass is lying about respond_to?(:clone)
I put this under "Misc", because I'm not sure, whether this is a bug, a feature request, or maybe a deliberate (but for me obscure) decision in language design:
NilClass (and Fixnum) do not support clone. That's fine. However,
...
rovf (Ronald Fischer)

05/30/2017

02:55 PM Ruby Bug #13612: Segmentation Fault
There is one more observation I would like to add; I don't know whether or not this is important:
When the segmentation fault occured the first time in our original application with Cygwin MRI Ruby, I reexecuted the whole application ...
rovf (Ronald Fischer)
02:19 PM Ruby Bug #13612: Segmentation Fault
I just made a minor change, which shows better where the error occurs (segf_test_improved.rb). The program needs to be operated in the same way as segf_test.rb which I described before.
Two things are notable:
1. Like in the backt...
rovf (Ronald Fischer)
01:49 PM Ruby Bug #13612: Segmentation Fault
nobu (Nobuyoshi Nakada) wrote:
> And 2.3.3 has been outdated, try 2.3.4, 2.4.1, or trunk.
I just verified: There is no newer port available for Cygwin, at least not on those mirrors, which Cygwin offers.
However, I have included a...
rovf (Ronald Fischer)
01:34 PM Ruby Bug #13612: Segmentation Fault
nobu (Nobuyoshi Nakada) wrote:
> Please show the whole code to reproduce, not a part.
> ...
Aside from the fact that my company unfortunately does not allow me to send you the whole application, as this is a strategic product, I think ...
rovf (Ronald Fischer)

Also available in: Atom