play-json icon indicating copy to clipboard operation
play-json copied to clipboard

`QuotesSpec` fails with Scala 3.3.4

Open mkurz opened this issue 1 year ago • 2 comments

Upgrading from 3.3.3 to 3.3.4.

  • #1101
  • #1102
  • #1100
[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))")

mkurz avatar Nov 12 '24 21:11 mkurz

This still happens with Scala 3.3.5-RC1. Is it worth brining to this to the Scala 3 team?

pjfanning avatar Jan 06 '25 19:01 pjfanning

@pjfanning yeah why not.

mkurz avatar Jan 17 '25 11:01 mkurz