From: mame@... Date: 2018-03-28T06:52:51+00:00 Subject: [ruby-core:86355] [Ruby trunk Bug#14627] class_eval "def foo(N:)\n end" regression Issue #14627 has been updated by mame (Yusuke Endoh). I could repro: ``` $ ruby -e 'Class.new.class_eval "def f(a:, N:)\nend"' -e:1: [BUG] Segmentation fault at 0x0000000000000028 ruby 2.5.0p0 (2017-12-25 revision 61468) [x86_64-linux] *snip* ``` This [BUG] does not occur on trunk, so maybe it has been already fixed. ---------------------------------------- Bug #14627: class_eval "def foo(N:)\n end" regression https://bugs.ruby-lang.org/issues/14627#change-71280 * 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: