[#84280] [Ruby trunk Bug#14181] hangs or deadlocks from waitpid, threads, and trapping SIGCHLD — nobu@...
Issue #14181 has been updated by nobu (Nobuyoshi Nakada).
3 messages
2017/12/15
[#84398] [Ruby trunk Bug#14220] WEBrick changes - failures on MSWIN, MinGW — Greg.mpls@...
Issue #14220 has been reported by MSP-Greg (Greg L).
3 messages
2017/12/22
[#84472] Re: [ruby-dev:50394] [Ruby trunk Bug#14240] warn four special variables: $; $, $/ $\ — Eric Wong <normalperson@...>
Shouldn't English posts be on ruby-core instead of ruby-dev?
3 messages
2017/12/26
[ruby-core:84344] [Ruby trunk Bug#14023] SyntaxError on array argument and block
From:
shyouhei@...
Date:
2017-12-19 06:57:02 UTC
List:
ruby-core #84344
Issue #14023 has been updated by shyouhei (Shyouhei Urabe).
https://bugs.ruby-lang.org/projects/ruby-trunk/repository/revisions/19197
Matz's intention is very clear that this kind of expression shall render syntax errors.
----------------------------------------
Bug #14023: SyntaxError on array argument and block
https://bugs.ruby-lang.org/issues/14023#change-68521
* Author: k0kubun (Takashi Kokubun)
* Status: Assigned
* Priority: Normal
* Assignee: nobu (Nobuyoshi Nakada)
* Target version: 2.5
* ruby -v: ruby 2.5.0preview1 (2017-10-10 trunk 60153) [x86_64-darwin16]
* Backport: 2.3: DONTNEED, 2.4: REQUIRED
----------------------------------------
~~~
$ RBENV_VERSION=2.4.2 ruby -v
ruby 2.4.2p198 (2017-09-14 revision 59899) [x86_64-darwin16]
$ RBENV_VERSION=2.4.2 ruby -c -e 'a [] {}'
Syntax OK
$ RBENV_VERSION=2.5.0-preview1 ruby -v
ruby 2.5.0preview1 (2017-10-10 trunk 60153) [x86_64-darwin16]
$ RBENV_VERSION=2.5.0-preview1 ruby -c -e 'a [] {}'
-e:1: syntax error, unexpected '{', expecting end-of-input
a [] {}
^
~~~
Is this intentional? This causes syntax error on https://github.com/plataformatec/devise/blob/v4.2.0/app/controllers/devise/sessions_controller.rb#L5.
--
https://bugs.ruby-lang.org/
Unsubscribe: <mailto:ruby-core-request@ruby-lang.org?subject=unsubscribe>
<http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-core>