eed3si9n / treehugger

treehugger.scala is a library to code Scala programmatically.
http://eed3si9n.com/treehugger
Other
133 stars 20 forks source link

build improvements (most notably, JDK 11+ friendliness) #57

Closed SethTisue closed 5 years ago

SethTisue commented 5 years ago

the compilation failures on JDK 11+ turned up in the community build: https://scala-ci.typesafe.com/view/scala-2.12.x/job/scala-2.12.x-jdk11-integrate-community-build/816/artifact/logs/treehugger-build.log

eed3si9n commented 5 years ago

Thanks. Could you handle these as well plz?

[error] /home/travis/build/eed3si9n/treehugger/library/src/test/scala/DSLSpec.scala:25: value toList is not a member of java.util.stream.Stream[String]
[error]         (s.lines.toList == list, s.lines.toList + " doesn't equal " + list)
[error]                  ^
[error] /home/travis/build/eed3si9n/treehugger/library/src/test/scala/DSLSpec.scala:25: value toList is not a member of java.util.stream.Stream[String]
[error]         (s.lines.toList == list, s.lines.toList + " doesn't equal " + list)
[error]                                          ^
[error] /home/travis/build/eed3si9n/treehugger/library/src/test/scala/TreePrinterSpec.scala:27: value toList is not a member of java.util.stream.Stream[String]
[error]     s.lines.toList must contain(allOf(
[error]             ^
[error] /home/travis/build/eed3si9n/treehugger/library/src/test/scala/TreePrinterSpec.scala:50: value toList is not a member of java.util.stream.Stream[String]
[error]     s.lines.toList must contain(allOf(
[error]             ^
[error] /home/travis/build/eed3si9n/treehugger/library/src/test/scala/TreePrinterSpec.scala:86: value toList is not a member of java.util.stream.Stream[String]
[error]     out.lines.toList must contain(allOf(
[error]               ^
[error] /home/travis/build/eed3si9n/treehugger/library/src/test/scala/TreePrinterSpec.scala:134: value toList is not a member of java.util.stream.Stream[String]
[error]     out.lines.toList must contain(allOf(
[error]               ^
[error] /home/travis/build/eed3si9n/treehugger/library/src/test/scala/TreePrinterSpec.scala:173: value toList is not a member of java.util.stream.Stream[String]
[error]     out.lines.toList must contain(allOf(
[error]               ^
[error] /home/travis/build/eed3si9n/treehugger/library/src/test/scala/TreePrinterSpec.scala:205: value toList is not a member of java.util.stream.Stream[String]
[error]     out.lines.toList must contain(allOf(
[error]               ^
[error] /home/travis/build/eed3si9n/treehugger/library/src/test/scala/TreePrinterSpec.scala:239: value toList is not a member of java.util.stream.Stream[String]
[error]     out.lines.toList must contain(allOf(
[error]               ^
[error] /home/travis/build/eed3si9n/treehugger/library/src/test/scala/TreePrinterSpec.scala:260: value toList is not a member of java.util.stream.Stream[String]
[error]     out.lines.toList must contain(allOf(
[error]               ^
[error] /home/travis/build/eed3si9n/treehugger/library/src/test/scala/TreePrinterSpec.scala:290: value toList is not a member of java.util.stream.Stream[String]
[error]     out.lines.toList must contain(allOf(
[error]               ^
[error] 11 errors found
[error] (library/test:compileIncremental) Compilation failed
[error] Total time: 28 s, completed Sep 10, 2019, 5:56:18 PM
SethTisue commented 5 years ago

green