Closed
Description
Compiler version
3.0.0
Minimized code
import scala.quoted._
object Boo:
def foo(using Quotes): Unit =
import quotes.reflect._
given Option[Symbol] = Some[Symbol](???)
Output
Found: Some[x$1.reflect.Symbol]
Required: Option[Symbol²]
where: Symbol is a type in trait reflectModule with bounds <: AnyRef
Symbol² is a class in package scala
Expectation
Successful compilation since both 'Symbol' should refer to reflect.Symbol and not scala.Symbol