[#85940] [Ruby trunk Bug#14578] Forking a child process inside of a mutex crashes the ruby interpreter — ben.govero@...
Issue #14578 has been reported by bengovero (Ben Govero).
3 messages
2018/03/05
[#86205] [Ruby trunk Feature#14618] Add display width method to String for CLI — aycabta@...
Issue #14618 has been reported by aycabta (aycabta .).
3 messages
2018/03/19
[#86366] Re: [ruby-cvs:70102] usa:r63008 (trunk): get rid of test error/failure on Windows introduced at r62955 — Eric Wong <normalperson@...>
usa@ruby-lang.org wrote:
3 messages
2018/03/28
[ruby-core:86357] [Ruby trunk Bug#14627] class_eval "def foo(N:)\n end" regression
From:
muraken@...
Date:
2018-03-28 07:02:58 UTC
List:
ruby-core #86357
Issue #14627 has been updated by mrkn (Kenta Murata).
I cannot reproduce it on the HEAD of ruby_2_5:
```
$ ruby -ve 'Class.new.class_eval "def foo(a:, N:)\nend"'
ruby 2.5.1p53 (2018-03-25 revision 62911) [x86_64-darwin16]
Traceback (most recent call last):
1: from -e:1:in `<main>'
-e:1:in `class_eval': (eval):1: formal argument cannot be a constant (SyntaxError)
def foo(a:, N:)
^~
(eval):1: dynamic constant assignment
def foo(a:, N:)
^
```
----------------------------------------
Bug #14627: class_eval "def foo(N:)\n end" regression
https://bugs.ruby-lang.org/issues/14627#change-71281
* Author: ViugiNick (Nickolay Viuginov)
* Status: Feedback
* Priority: Normal
* Assignee:
* Target version:
* ruby -v: 2.5.0
* Backport: 2.3: UNKNOWN, 2.4: UNKNOWN, 2.5: UNKNOWN
----------------------------------------
Ruby crashes with a segfault in case of `class_eval` defining method with a keyword starts with a capital letter. It seems like it's a regression of one of the latest versions.
---Files--------------------------------
Screenshot from 2018-03-21 18-15-09.png (133 KB)
--
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>