Project

General

Profile

Actions

Feature #18159

open

Integrate functionality of dead_end gem into Ruby

Added by duerst (Martin Dürst) 10 months ago. Updated 13 days ago.

Status:
Open
Priority:
Normal
Target version:
[ruby-core:105191]

Description

Missing 'end' errors are difficult to fix. We should integrate the functionality of the dead_end gem (https://github.com/zombocom/dead_end) into Ruby similar to how we integrated did_you_mean. It would greatly help programming Ruby, in particular for beginners.

See also Ruby Kaigi Takeout 2021 talk by Richard Schneeman https://rubykaigi.org/2021-takeout/presentations/schneems.html.


Related issues 2 (1 open1 closed)

Related to Ruby master - Feature #14244: Better error messages for scripts with non-matching end statementsOpenmame (Yusuke Endoh)Actions
Related to Ruby master - Feature #18231: `RubyVM.keep_script_lines`Closedko1 (Koichi Sasada)Actions
Actions

Also available in: Atom PDF