Actions
Bug #18753
closedlineno= is not returning an integer
Bug #18753:
lineno= is not returning an integer
Description
The call-seq for argf_set_lineno says it returns an integer, but in fact it returns nil.
https://github.com/ruby/ruby/blob/84f410e5e64a2480a86de7c50f01f01f71816435/io.c#L9330
For IO, the input integer value is returned as documented.
I think ARGF should also return the input value.
I think it is so trivial, but I'm having a little trouble with (adding ARGF to rbs)[https://github.com/ruby/rbs/pull/975].
Actions