Skip to content

Commit 8a3e7e1

Browse files
author
Antonio Cunei
committed
backport of r25739
1 parent b873250 commit 8a3e7e1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/compiler/scala/tools/nsc/transform/Erasure.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -212,7 +212,7 @@ abstract class Erasure extends AddInterfaces with typechecker.Analyzer with ast.
212212
}
213213
}
214214

215-
private def needsJavaSig(tp: Type) = !settings.Ynogenericsig.value && NeedsSigCollector.collect(tp)
215+
def needsJavaSig(tp: Type) = !settings.Ynogenericsig.value && NeedsSigCollector.collect(tp)
216216

217217
// only refer to type params that will actually make it into the sig, this excludes:
218218
// * higher-order type parameters (aka !sym.owner.isTypeParameterOrSkolem)

0 commit comments

Comments
 (0)