File tree 1 file changed +5
-12
lines changed
compiler/src/dotty/tools/backend/jvm 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 {
847
847
848
848
private def getGenericSignatureHelper (sym : Symbol , owner : Symbol , memberTpe : Type )(using Context ): Option [String ] = {
849
849
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, _))
862
853
}
854
+
855
+ jsOpt
863
856
} else {
864
857
None
865
858
}
You can’t perform that action at this time.
0 commit comments