Project

General

Profile

Actions

Bug #1748

closed

Kernel.puts(nil) => "\n" on 1.9; "nil\n" on 1.8

Added by runpaint (Run Paint Run Run) almost 15 years ago. Updated about 13 years ago.

Status:
Rejected
Target version:
-
ruby -v:
ruby 1.9.2dev (2009-07-08 trunk 23995) [i686-linux]
Backport:
[ruby-core:24222]

Description

=begin
Is this intentional?

$ ruby -ve 'Kernel.puts(nil)'
ruby 1.9.2dev (2009-07-08 trunk 23995) [i686-linux]

$ ruby8 -ve 'Kernel.puts(nil)'
ruby 1.8.8dev (2009-07-01) [i686-linux]
nil
=end

Actions #1

Updated by yugui (Yuki Sonoda) almost 15 years ago

  • Status changed from Open to Rejected
  • Assignee set to matz (Yukihiro Matsumoto)

=begin
I think this is intentional.
=end

Actions

Also available in: Atom PDF

Like0
Like0