Skip to content

Commit dea7494

Browse files
gspsliufengyun
authored andcommitted
Make sure contextual flags are propagated during jvm signature generation
1 parent 01f3094 commit dea7494

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compiler/src/dotty/tools/dotc/transform/GenericSignatures.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -281,7 +281,7 @@ object GenericSignatures {
281281
case _ =>
282282
val etp = erasure(tp)
283283
if (etp eq tp) throw new UnknownSig
284-
else jsig(etp)
284+
else jsig(etp, toplevel, primitiveOK)
285285
}
286286
}
287287
val throwsArgs = sym0.annotations flatMap ThrownException.unapply

0 commit comments

Comments
 (0)