From: "schneems (Richard Schneeman)" Date: 2022-07-28T14:41:06+00:00 Subject: [ruby-core:109358] [Ruby master Feature#18159] Integrate functionality of syntax_suggest gem into Ruby Issue #18159 has been updated by schneems (Richard Schneeman). Without any additional patches by Nobu here are the known limitations: - Does not work with streaming code from STDIN (i.e. `echo 'def bad' | ruby` ) - Does not work when executing a file directly (i.e. `ruby bad.rb`) - Does not work with `ruby -e` command. - Does not work with `eval` Even in these cases, it falls back to existing Ruby 3.1 behavior. I think it is safe to merge in for now. We can benefit from people trying the functionality even if it does not work with these cases. There are no blockers to merging. ---------------------------------------- Feature #18159: Integrate functionality of syntax_suggest gem into Ruby https://bugs.ruby-lang.org/issues/18159#change-98502 * Author: duerst (Martin D��rst) * Status: Open * Priority: Normal * Assignee: matz (Yukihiro Matsumoto) * Target version: 3.2 ---------------------------------------- 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. -- https://bugs.ruby-lang.org/ Unsubscribe: