PPrint icon indicating copy to clipboard operation
PPrint copied to clipboard

Incorrect recursive output for scala.xml.ProcInstr

Open Atry opened this issue 6 years ago • 1 comments

Welcome to the Ammonite Repl 1.6.9
(Scala 2.12.8 Java 1.8.0_202-ea)
If you like Ammonite, please support our development at www.patreon.com/lihaoyi
@ val x = <?xml-stylesheet href="style.xsl"?> 
x: xml.ProcInstr = ProcInstr(
  ProcInstr(
    ProcInstr(
      ProcInstr(
        ProcInstr(
          ProcInstr(
            ProcInstr(
              ProcInstr(
                ProcInstr(
                  ProcInstr(
                    ProcInstr(
                      ProcInstr(
                        ProcInstr(
                          ProcInstr(
                            ProcInstr(
                              ProcInstr(
                                ProcInstr(
                                  ProcInstr(
                                    ProcInstr(
                                      ProcInstr(
                                        ProcInstr(
...

Atry avatar Aug 09 '19 01:08 Atry

There is a similar issue with the snippet:

object MainTest extends App{
  val test = <rss></rss>
  pprint.log(test)
}

Not sure if the same issue though, since it doesn't seem to happen in ammonite for people.

tgodzik avatar Jun 17 '20 07:06 tgodzik