PPrint
PPrint copied to clipboard
Incorrect recursive output for scala.xml.ProcInstr
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(
...
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.