We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bc81953 commit 478e416Copy full SHA for 478e416
compiler/src/dotty/tools/dotc/transform/GenericSignatures.scala
@@ -222,8 +222,10 @@ object GenericSignatures {
222
else
223
jsig(unboxedSeen, toplevel, primitiveOK)
224
}
225
- else if (defn.isXXLFunctionClass(sym))
226
- classSig(defn.FunctionXXLClass)
+ else if (defn.isSyntheticFunctionClass(sym)) {
+ val erasedSym = defn.erasedFunctionClass(sym)
227
+ classSig(erasedSym, pre, if (erasedSym.typeParams.isEmpty) Nil else args)
228
+ }
229
else if (sym.isClass)
230
classSig(sym, pre, args)
231
0 commit comments