File tree Expand file tree Collapse file tree 1 file changed +5
-12
lines changed
compiler/src/dotty/tools/backend/jvm Expand file tree Collapse file tree 1 file changed +5
-12
lines changed Original file line number Diff line number Diff line change @@ -847,19 +847,12 @@ trait BCodeHelpers extends BCodeIdiomatic with BytecodeWriters {
847847
848848 private def getGenericSignatureHelper (sym : Symbol , owner : Symbol , memberTpe : Type )(using Context ): Option [String ] = {
849849 if (needsGenericSignature(sym)) {
850- val erasedTypeSym = TypeErasure .fullErasure(sym.denot.info).typeSymbol
851- if (erasedTypeSym.isPrimitiveValueClass) {
852- // Suppress signatures for symbols whose types erase in the end to primitive
853- // value types. This is needed to fix #7416.
854- None
855- } else {
856- val jsOpt = GenericSignatures .javaSig(sym, memberTpe)
857- if (ctx.settings.XverifySignatures .value) {
858- jsOpt.foreach(verifySignature(sym, _))
859- }
860-
861- jsOpt
850+ val jsOpt = GenericSignatures .javaSig(sym, memberTpe)
851+ if (ctx.settings.XverifySignatures .value) {
852+ jsOpt.foreach(verifySignature(sym, _))
862853 }
854+
855+ jsOpt
863856 } else {
864857 None
865858 }
You can’t perform that action at this time.
0 commit comments