playframework / play-json

The Play JSON library
Apache License 2.0
361 stars 133 forks source link

`QuotesSpec` fails with Scala 3.3.4 #1103

Open mkurz opened 2 weeks ago

mkurz commented 2 weeks ago

Upgrading from 3.3.3 to 3.3.4.

[info] QuotesSpec:
[info] Product
[info]   should be inspected for elements
[info]   - when Foo (0 milliseconds)
[info]   - when generic Bar (1 millisecond)
[info]     when of non-case class
[info]     - when there is no ProductOf (0 milliseconds)
[info]     - when it's defined a ill-typed ProductOf (0 milliseconds)
[info]       when it's defined a well-typed ProductOf
[info]       - when by import *** FAILED *** (43 milliseconds)
[info]         List() did not equal List("(val name,List(),TypeRef(TermRef(ThisType(TypeRef(NoPrefix,module class scala)),object Predef),type String))", "(val age,List(),TypeRef(TermRef(ThisType(TypeRef(NoPrefix,module class <root>)),object scala),class Int))") (QuotesSpec.scala:57)
[info]         Analysis:
[info]         Nil$(0: -> "(val name,List(),TypeRef(TermRef(ThisType(TypeRef(NoPrefix,module class scala)),object Predef),type String))", 1: -> "(val age,List(),TypeRef(TermRef(ThisType(TypeRef(NoPrefix,module class <root>)),object scala),class Int))")
[info]       - when by local val *** FAILED *** (1 millisecond)
[info]         List() did not equal List("(val name,List(),TypeRef(TermRef(ThisType(TypeRef(NoPrefix,module class scala)),object Predef),type String))", "(val age,List(),TypeRef(TermRef(ThisType(TypeRef(NoPrefix,module class <root>)),object scala),class Int))") (QuotesSpec.scala:63)
[info]         Analysis:
[info]         Nil$(0: -> "(val name,List(),TypeRef(TermRef(ThisType(TypeRef(NoPrefix,module class scala)),object Predef),type String))", 1: -> "(val age,List(),TypeRef(TermRef(ThisType(TypeRef(NoPrefix,module class <root>)),object scala),class Int))")