[#81999] [Ruby trunk Bug#13737] "can't modify frozen String" when installing bundled gems — ko1@...
Issue #13737 has been updated by ko1 (Koichi Sasada).
4 messages
2017/07/11
[#82005] [Ruby trunk Bug#13737] "can't modify frozen String" when installing bundled gems — nobu@...
Issue #13737 has been updated by nobu (Nobuyoshi Nakada).
3 messages
2017/07/12
[#82102] Re: register_fstring_tainted:FL_TEST_RAW(str, RSTRING_FSTR) — Eric Wong <normalperson@...>
Koichi Sasada <ko1@atdot.net> wrote:
4 messages
2017/07/18
[#82151] [Ruby trunk Feature#13637] [PATCH] tool/runruby.rb: test with smallest possible machine stack — Rei.Odaira@...
Issue #13637 has been updated by ReiOdaira (Rei Odaira).
3 messages
2017/07/24
[ruby-core:82171] [Ruby trunk Bug#13691] Word- and symbol array literals not valid where regular array is
From:
nobu@...
Date:
2017-07-26 00:09:20 UTC
List:
ruby-core #82171
Issue #13691 has been updated by nobu (Nobuyoshi Nakada).
Because of the precedence, `{}` is bound to `%i()` here, and `%i()` literal cannot be a method call.
----------------------------------------
Bug #13691: Word- and symbol array literals not valid where regular array is
https://bugs.ruby-lang.org/issues/13691#change-65931
* Author: ted (Ted Johansson)
* Status: Open
* Priority: Normal
* Assignee:
* Target version:
* ruby -v: ruby 2.4.1p111 (2017-03-22 revision 58053) [x86_64-darwin16]
* Backport: 2.2: UNKNOWN, 2.3: UNKNOWN, 2.4: UNKNOWN
----------------------------------------
Not sure if this is a limitation of the design space in the parser, or just a missed edge case. (Note that a regular array literal works fine.)
**Steps to reproduce:**
Run ruby -c on:
~~~ ruby
hoge %i(a b) { piyo }
~~~
**Expected behaviour:**
Syntax OK
**Actual behaviour:**
~~~
syntax error, unexpected '{', expecting end-of-input
~~~
--
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>