ruby-core@ruby-lang.org archive (unofficial mirror)
 help / color / mirror / Atom feed
* [ruby-core:86236] [Ruby trunk Bug#14621] Extra whitespace in squiggly heredoc with escaped newline
       [not found] <redmine.issue-14621.20180321063838@ruby-lang.org>
@ 2018-03-21  6:38 ` melentievm
  2018-03-21  6:43 ` [ruby-core:86237] " melentievm
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 5+ messages in thread
From: melentievm @ 2018-03-21  6:38 UTC (permalink / raw)
  To: ruby-core

Issue #14621 has been reported by printercu (Max Melentiev).

----------------------------------------
Bug #14621: Extra whitespace in squiggly heredoc with escaped newline
https://bugs.ruby-lang.org/issues/14621

* Author: printercu (Max Melentiev)
* Status: Open
* Priority: Normal
* Assignee: 
* Target version: 
* ruby -v: 
* Backport: 2.3: UNKNOWN, 2.4: UNKNOWN, 2.5: UNKNOWN
----------------------------------------
~~~
puts <<~TXT.inspect
  1 \
  2
TXT

Expected:
"1 2\n"

Got:
"1   2\n"
~~~



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

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

* [ruby-core:86237] [Ruby trunk Bug#14621] Extra whitespace in squiggly heredoc with escaped newline
       [not found] <redmine.issue-14621.20180321063838@ruby-lang.org>
  2018-03-21  6:38 ` [ruby-core:86236] [Ruby trunk Bug#14621] Extra whitespace in squiggly heredoc with escaped newline melentievm
@ 2018-03-21  6:43 ` melentievm
  2018-03-21 11:22 ` [ruby-core:86238] " nobu
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 5+ messages in thread
From: melentievm @ 2018-03-21  6:43 UTC (permalink / raw)
  To: ruby-core

Issue #14621 has been updated by printercu (Max Melentiev).


Teste in ruby 2.5.0p0 (2017-12-25 revision 61468) [x86_64-linux] - same result.

----------------------------------------
Bug #14621: Extra whitespace in squiggly heredoc with escaped newline
https://bugs.ruby-lang.org/issues/14621#change-71134

* Author: printercu (Max Melentiev)
* Status: Open
* Priority: Normal
* Assignee: 
* Target version: 
* ruby -v: ruby 2.4.1p111 (2017-03-22 revision 58053) [x86_64-darwin16]
* Backport: 2.3: UNKNOWN, 2.4: UNKNOWN, 2.5: UNKNOWN
----------------------------------------
~~~
puts <<~TXT.inspect
  1 \
  2
TXT

Expected:
"1 2\n"

Got:
"1   2\n"
~~~



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

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

* [ruby-core:86238] [Ruby trunk Bug#14621] Extra whitespace in squiggly heredoc with escaped newline
       [not found] <redmine.issue-14621.20180321063838@ruby-lang.org>
  2018-03-21  6:38 ` [ruby-core:86236] [Ruby trunk Bug#14621] Extra whitespace in squiggly heredoc with escaped newline melentievm
  2018-03-21  6:43 ` [ruby-core:86237] " melentievm
@ 2018-03-21 11:22 ` nobu
  2019-02-11 11:04 ` [ruby-core:91508] " nagachika00
  2019-02-28 14:52 ` [ruby-core:91643] " usa
  4 siblings, 0 replies; 5+ messages in thread
From: nobu @ 2018-03-21 11:22 UTC (permalink / raw)
  To: ruby-core

Issue #14621 has been updated by nobu (Nobuyoshi Nakada).


r62872 has a bug.

```ruby
<<TEXT
\
TEXT
```

should raise a syntax error, "can't find string "TEXT" anywhere before EOF".
I'll fix it.


----------------------------------------
Bug #14621: Extra whitespace in squiggly heredoc with escaped newline
https://bugs.ruby-lang.org/issues/14621#change-71137

* Author: printercu (Max Melentiev)
* Status: Closed
* Priority: Normal
* Assignee: 
* Target version: 
* ruby -v: ruby 2.4.1p111 (2017-03-22 revision 58053) [x86_64-darwin16]
* Backport: 2.3: REQUIRED, 2.4: REQUIRED, 2.5: REQUIRED
----------------------------------------
~~~ruby
puts <<~TXT.inspect
  1 \
  2
TXT
~~~

Expected:

~~~
"1 2\n"
~~~

Got:

~~~
"1   2\n"
~~~



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

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

* [ruby-core:91508] [Ruby trunk Bug#14621] Extra whitespace in squiggly heredoc with escaped newline
       [not found] <redmine.issue-14621.20180321063838@ruby-lang.org>
                   ` (2 preceding siblings ...)
  2018-03-21 11:22 ` [ruby-core:86238] " nobu
@ 2019-02-11 11:04 ` nagachika00
  2019-02-28 14:52 ` [ruby-core:91643] " usa
  4 siblings, 0 replies; 5+ messages in thread
From: nagachika00 @ 2019-02-11 11:04 UTC (permalink / raw)
  To: ruby-core

Issue #14621 has been updated by nagachika (Tomoyuki Chikanaga).

Backport changed from 2.3: REQUIRED, 2.4: REQUIRED, 2.5: REQUIRED to 2.3: REQUIRED, 2.4: REQUIRED, 2.5: DONE

ruby_2_5 r67050 merged revision(s) 62872,62873.

----------------------------------------
Bug #14621: Extra whitespace in squiggly heredoc with escaped newline
https://bugs.ruby-lang.org/issues/14621#change-76769

* Author: printercu (Max Melentiev)
* Status: Closed
* Priority: Normal
* Assignee: 
* Target version: 
* ruby -v: ruby 2.4.1p111 (2017-03-22 revision 58053) [x86_64-darwin16]
* Backport: 2.3: REQUIRED, 2.4: REQUIRED, 2.5: DONE
----------------------------------------
~~~ruby
puts <<~TXT.inspect
  1 \
  2
TXT
~~~

Expected:

~~~
"1 2\n"
~~~

Got:

~~~
"1   2\n"
~~~



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

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

* [ruby-core:91643] [Ruby trunk Bug#14621] Extra whitespace in squiggly heredoc with escaped newline
       [not found] <redmine.issue-14621.20180321063838@ruby-lang.org>
                   ` (3 preceding siblings ...)
  2019-02-11 11:04 ` [ruby-core:91508] " nagachika00
@ 2019-02-28 14:52 ` usa
  4 siblings, 0 replies; 5+ messages in thread
From: usa @ 2019-02-28 14:52 UTC (permalink / raw)
  To: ruby-core

Issue #14621 has been updated by usa (Usaku NAKAMURA).

Backport changed from 2.3: REQUIRED, 2.4: REQUIRED, 2.5: DONE to 2.3: REQUIRED, 2.4: DONE, 2.5: DONE

ruby_2_4 r67147 merged revision(s) 62872,62873.

----------------------------------------
Bug #14621: Extra whitespace in squiggly heredoc with escaped newline
https://bugs.ruby-lang.org/issues/14621#change-76907

* Author: printercu (Max Melentiev)
* Status: Closed
* Priority: Normal
* Assignee: 
* Target version: 
* ruby -v: ruby 2.4.1p111 (2017-03-22 revision 58053) [x86_64-darwin16]
* Backport: 2.3: REQUIRED, 2.4: DONE, 2.5: DONE
----------------------------------------
~~~ruby
puts <<~TXT.inspect
  1 \
  2
TXT
~~~

Expected:

~~~
"1 2\n"
~~~

Got:

~~~
"1   2\n"
~~~



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

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

end of thread, other threads:[~2019-02-28 14:52 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <redmine.issue-14621.20180321063838@ruby-lang.org>
2018-03-21  6:38 ` [ruby-core:86236] [Ruby trunk Bug#14621] Extra whitespace in squiggly heredoc with escaped newline melentievm
2018-03-21  6:43 ` [ruby-core:86237] " melentievm
2018-03-21 11:22 ` [ruby-core:86238] " nobu
2019-02-11 11:04 ` [ruby-core:91508] " nagachika00
2019-02-28 14:52 ` [ruby-core:91643] " usa

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).