[前][次][番号順一覧][スレッド一覧]

ruby-changes:67151

From: aycabta <ko1@a...>
Date: Sat, 14 Aug 2021 22:13:50 +0900 (JST)
Subject: [ruby-changes:67151] 2c056816c4 (master): [ruby/reline] Add workspace member for the latest IRB's implementation

https://git.ruby-lang.org/ruby.git/commit/?id=2c056816c4

From 2c056816c4e16117cc62b67fba74dfbd15d15ae9 Mon Sep 17 00:00:00 2001
From: aycabta <aycabta@g...>
Date: Fri, 13 Aug 2021 13:44:40 +0900
Subject: [ruby/reline] Add workspace member for the latest IRB's
 implementation

https://github.com/ruby/reline/commit/8b55fc8fee
---
 test/reline/yamatanooroti/termination_checker.rb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/test/reline/yamatanooroti/termination_checker.rb b/test/reline/yamatanooroti/termination_checker.rb
index a36e075..9c2c3ae 100644
--- a/test/reline/yamatanooroti/termination_checker.rb
+++ b/test/reline/yamatanooroti/termination_checker.rb
@@ -20,7 +20,7 @@ end https://github.com/ruby/ruby/blob/trunk/test/reline/yamatanooroti/termination_checker.rb#L20
 class AutoIndent < RubyLex
   def initialize
     set_input(self)
-    context = Struct.new(:auto_indent_mode).new(true)
+    context = Struct.new(:auto_indent_mode, :workspace).new(true, nil)
     set_auto_indent(context)
   end
 
-- 
cgit v1.1


--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]