Skip to content

Nested heredocs #1021

@kddnewton

Description

@kddnewton
[<<A,
#{<<B}
b
B
a
A
0]

This is giving:

s(:array,
  s(:dstr,
    s(:begin,
      s(:str, "b\n")),
    s(:str, "\n"),
    s(:str, "b\n"),
    s(:str, "B\n"),
    s(:str, "a\n")),
  s(:int, 0))

when I think it should be giving:

s(:array,
  s(:dstr,
    s(:begin,
      s(:str, "b\n")),
    s(:str, "\n"),
    s(:str, "a\n")),
  s(:int, 0))

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions