Is there some way to get at an object's runtime
TypeTag in Scala 3?
(I'm not using macros. I just want to output it, in order to provide a helpful message in some unit tests.)
Is it safe to add the 2.13 version of the
scala-reflect API to my
libraryDependencies with cross-compilation?
Or is there a better way of doing this in Scala 3?
NoSuchMethodErrortrying to call this Java method https://github.com/testcontainers/testcontainers-java/blob/8965712f239ae3c449cec579264af5e79265f314/core/src/main/java/org/testcontainers/images/builder/traits/ClasspathTrait.java#L13 from Scala 3. @smarter is there anything about this Java type that makes you suspicious?
Is xml string interpolation implemented as a feature of Scala 3 ? If positive, how can I make
xml""" |<p>Hello World!</p> |""".stripMargin
compile? I always receive a
value xml is not a member of StringContext error message.
3.0.0so maybe it was just added?
Hi, I've noticed that getting the name of method parameters seems to have changed between 2.13.4 and 2.13.5.
When I have a method
def listCars(`airport-code`: String): Seq[String] = ???
and try to get the names via
Previously it returned "airport-code" for the parameter and now it seems to return "airport$minuscode". My guess is the internal representation has changed and therefore the java reflection no longer works as expected. Is there any other way to solve this than a bandaid-solution using
(This is not my code, so please don't explain to me that reflection is bad, I know that. I'm just trying to upgrade this very commonly used library)