## Compiler version `3.3.1` ## Minimized code <!-- This code should be self contained, compilable (with possible failures) and as small as possible. Ideally, we should be able to just copy this code in a file and run `scalac` (and maybe `scala`) to reproduce the issue. --> ```Scala object Test: class Custom extends scala.Product1[String]: def length: Int = ??? def apply(i: Int): Boolean = ??? def drop(n: Int): scala.Seq[Boolean] = ??? def toSeq: scala.Seq[Boolean] = ??? def canEqual(that: Any): Boolean = ??? val _1: String = ??? val _3: Seq[String] = ??? class Unapplied: def isEmpty: Boolean = ??? def get: Custom = ??? object A: def unapplySeq(i: Int): Unapplied = ??? val A(a, rest*) = 1 ``` ## Output (click arrow to expand) <!-- Note: to get a full crash log when using scala-cli, run compilation with the flag `--server=false` --> ```scala scala: undefined: x9.<none> # -1: TermRef(TermRef(NoPrefix,val x9),<none>) at preRecheck ```