ruby-core@ruby-lang.org archive (unofficial mirror)
 help / color / mirror / Atom feed
* [ruby-core:71726] [Ruby trunk - Bug #11748] [Closed] [BACKPORT] ripper misses on_tstring_content callback result
       [not found] <redmine.issue-11748.20151129000612@ruby-lang.org>
@ 2015-11-29  0:06 ` nobu
  2015-12-01 18:16 ` [ruby-core:71782] [Ruby trunk - Bug #11748] " nagachika00
  1 sibling, 0 replies; 2+ messages in thread
From: nobu @ 2015-11-29  0:06 UTC (permalink / raw)
  To: ruby-core

Issue #11748 has been reported by Nobuyoshi Nakada.

----------------------------------------
Bug #11748: [BACKPORT] ripper misses on_tstring_content callback result
https://bugs.ruby-lang.org/issues/11748

* Author: Nobuyoshi Nakada
* Status: Closed
* Priority: Normal
* Assignee: 
* ruby -v: 
* Backport: 2.0.0: DONTNEED, 2.1: DONTNEED, 2.2: REQUIRED
----------------------------------------
2.2以降、on_tstring_contentコールバックの戻り値が捨てられています。

~~~
$ ruby2.0 -rripper -e 'p Ripper.sexp("<<E\nx\nE")'
[:program, [[:string_literal, [:string_content, [:@tstring_content, "x\n", [2, 0]]]]]]

$ ruby2.1 -rripper -e 'p Ripper.sexp("<<E\nx\nE")'
[:program, [[:string_literal, [:string_content, [:@tstring_content, "x\n", [2, 0]]]]]]

$ ruby2.2 -rripper -e 'p Ripper.sexp("<<E\nx\nE")'
[:program, [[:string_literal, [:string_content, "x\n"]]]]
~~~

r52777のバックポートをお願いします。



-- 
https://bugs.ruby-lang.org/

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [ruby-core:71782] [Ruby trunk - Bug #11748] [BACKPORT] ripper misses on_tstring_content callback result
       [not found] <redmine.issue-11748.20151129000612@ruby-lang.org>
  2015-11-29  0:06 ` [ruby-core:71726] [Ruby trunk - Bug #11748] [Closed] [BACKPORT] ripper misses on_tstring_content callback result nobu
@ 2015-12-01 18:16 ` nagachika00
  1 sibling, 0 replies; 2+ messages in thread
From: nagachika00 @ 2015-12-01 18:16 UTC (permalink / raw)
  To: ruby-core

Issue #11748 has been updated by Tomoyuki Chikanaga.

Backport changed from 2.0.0: DONTNEED, 2.1: DONTNEED, 2.2: REQUIRED to 2.0.0: DONTNEED, 2.1: DONTNEED, 2.2: DONE

Backported into `ruby_2_2` branch at r52837.

----------------------------------------
Bug #11748: [BACKPORT] ripper misses on_tstring_content callback result
https://bugs.ruby-lang.org/issues/11748#change-55191

* Author: Nobuyoshi Nakada
* Status: Closed
* Priority: Normal
* Assignee: 
* ruby -v: 
* Backport: 2.0.0: DONTNEED, 2.1: DONTNEED, 2.2: DONE
----------------------------------------
2.2以降、on_tstring_contentコールバックの戻り値が捨てられています。

~~~
$ ruby2.0 -rripper -e 'p Ripper.sexp("<<E\nx\nE")'
[:program, [[:string_literal, [:string_content, [:@tstring_content, "x\n", [2, 0]]]]]]

$ ruby2.1 -rripper -e 'p Ripper.sexp("<<E\nx\nE")'
[:program, [[:string_literal, [:string_content, [:@tstring_content, "x\n", [2, 0]]]]]]

$ ruby2.2 -rripper -e 'p Ripper.sexp("<<E\nx\nE")'
[:program, [[:string_literal, [:string_content, "x\n"]]]]
~~~

r52777のバックポートをお願いします。



-- 
https://bugs.ruby-lang.org/

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-12-01 17:45 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <redmine.issue-11748.20151129000612@ruby-lang.org>
2015-11-29  0:06 ` [ruby-core:71726] [Ruby trunk - Bug #11748] [Closed] [BACKPORT] ripper misses on_tstring_content callback result nobu
2015-12-01 18:16 ` [ruby-core:71782] [Ruby trunk - Bug #11748] " nagachika00

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).