ruby-core@ruby-lang.org archive (unofficial mirror)
 help / color / mirror / Atom feed
From: "rits (First Last)" <redmine@ruby-lang.org>
To: ruby-core@ruby-lang.org
Subject: [ruby-core:59297] [ruby-trunk - Bug #9291][Open] array splatting a nil works, but hash splatting a nil does not
Date: Tue, 24 Dec 2013 19:17:38 +0900	[thread overview]
Message-ID: <redmine.issue-9291.20131224191738@ruby-lang.org> (raw)


Issue #9291 has been reported by rits (First Last).

----------------------------------------
Bug #9291: array splatting a nil works, but hash splatting a nil does not
https://bugs.ruby-lang.org/issues/9291

Author: rits (First Last)
Status: Open
Priority: Normal
Assignee: 
Category: 
Target version: 
ruby -v: ruby 2.0.0p353 (2013-11-22 revision 43784) [i686-linux]
Backport: 1.9.3: UNKNOWN, 2.0.0: UNKNOWN, 2.1: UNKNOWN


irb(main):001:0> [*nil]
=> []
irb(main):002:0> {**nil}
TypeError: no implicit conversion of nil into Hash



-- 
http://bugs.ruby-lang.org/

             reply	other threads:[~2013-12-24 10:38 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-12-24 10:17 rits (First Last) [this message]
2013-12-27 17:49 ` [ruby-core:59347] [ruby-trunk - Bug #9291] array splatting a nil works, but hash splatting a nil does not rits (First Last)
2014-08-04 14:48 ` [ruby-core:64191] " meanlogin
2014-08-11  9:42 ` [ruby-core:64296] " ruby-core
2019-12-18 10:26 ` [ruby-core:96304] [Ruby master Bug#9291] " mame

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-list from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.ruby-lang.org/en/community/mailing-lists/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=redmine.issue-9291.20131224191738@ruby-lang.org \
    --to=ruby-core@ruby-lang.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).