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 b129009 commit 82add93Copy full SHA for 82add93
compiler/src/dotty/tools/dotc/transform/GenericSignatures.scala
@@ -127,9 +127,6 @@ object GenericSignatures {
127
case ref @ TypeParamRef(_: PolyType, _) =>
128
typeParamSig(ref.paramName.lastPart)
129
130
- case RefOrAppliedType(sym, _, _) if defn.isXXLFunctionClass(sym) =>
131
- jsig(defn.FunctionXXLType, toplevel, primitiveOK)
132
-
133
case RefOrAppliedType(sym, pre, args) =>
134
def argSig(tp: Type): Unit =
135
tp match {
@@ -215,6 +212,8 @@ object GenericSignatures {
215
212
else
216
213
jsig(unboxedSeen, toplevel, primitiveOK)
217
214
}
+ else if (defn.isXXLFunctionClass(sym))
+ jsig(defn.FunctionXXLType, toplevel, primitiveOK)
218
else if (sym.isClass)
219
classSig
220
0 commit comments