expecty icon indicating copy to clipboard operation
expecty copied to clipboard

[Scala 3] Macro gets thrown off by string interpolation

Open Baccata opened this issue 4 years ago • 0 comments

The following throws throws java.lang.AssertionError: assertion failed: Cannot create ClassBType from NoSymbol at compile time :

import com.eed3si9n.expecty.Expecty.assert

val hello = "hello"

assert(hello == s"$hello")

See https://scastie.scala-lang.org/Baccata/XoWJUNQVSjOBRDvX9Kkvdg/4

Baccata avatar Oct 09 '21 05:10 Baccata