Nicolas Stucki
Nicolas Stucki
I'm not sure if the semantic of flatten would be correct for any custom equivalence. I'll have to analyse it depth. Could you tell me which is your specific use...
You are probably right, extending it will work correctly.
That may work for the compact representation but will fail on the others. But the implementation of flatten might be just a `union` over the bags. Which would internally do...
In most cases I would expect this lists to perform better for this particular benchmark because the bag builder is inherently more complex. In general full traversals or constructions of...
Technically we do not support the fresh name concept as this is part of syntactic macros that scala 3 does not support (such as in re-typethinking). We only support semantic...
To fix this we will need to minimize the failure of quill. I do not have time to do it now.
Minimized the quill example furder ```scala package foo class Test: import scala.quoted.* def test(i: Expr[A])(using Quotes): Expr[Unit] = '{ $i.b } trait A: private[foo] def b: Unit ``` ``` 5...
Minimized ```scala import scala.compiletime.{summonFrom, summonInline, erasedValue} import scala.deriving.Mirror trait EnumerateNames[T] object EnumerateNames { inline def derived[T]: EnumerateNames[T] = summonFrom { case ev: Mirror.Of[T] => inline ev match case m: Mirror.ProductOf[T]...
### Minimized ```scala package foo import scala.quoted.* private[foo] object Foo: def apply(): Int = ??? inline def test(): Unit = ${ testExpr() } private def testExpr()(using Quotes): Expr[Unit] = {...
We need #16992 to fix this issue