File tree 1 file changed +4
-4
lines changed
src/dotty/tools/dotc/backend/jvm
1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -535,7 +535,7 @@ abstract class BCodeHelpers extends BCodeTypes with BytecodeWriters {
535
535
/*
536
536
* must-single-thread
537
537
*/
538
- def asmMethodType (msym : Symbol ): BType = {
538
+ def asmMethodType (msym : Symbol )( implicit ctx : core. Contexts . Context ) : BType = {
539
539
assert(msym is Flags .Method , s " not a method-symbol: $msym" )
540
540
val resT : BType =
541
541
if (msym.isClassConstructor || msym.isConstructor) BType .VOID_TYPE
@@ -550,7 +550,7 @@ abstract class BCodeHelpers extends BCodeTypes with BytecodeWriters {
550
550
*
551
551
* must-single-thread
552
552
*/
553
- final def trackMemberClasses (csym : Symbol , lateClosuresBTs : List [BType ]): List [BType ] = {
553
+ final def trackMemberClasses (csym : Symbol , lateClosuresBTs : List [BType ])( implicit ctx : core. Contexts . Context ) : List [BType ] = {
554
554
val lateInnerClasses = exitingErasure {
555
555
for (sym <- List (csym, csym.linkedClassOfClass); memberc <- sym.info.decls.map(innerClassSymbolFor) if memberc.isClass)
556
556
yield memberc
@@ -574,14 +574,14 @@ abstract class BCodeHelpers extends BCodeTypes with BytecodeWriters {
574
574
*
575
575
* must-single-thread
576
576
*/
577
- final def descriptor (t : Type ): String = { toTypeKind(t).getDescriptor }
577
+ final def descriptor (t : Type )( implicit ctx : core. Contexts . Context ) : String = ( toTypeKind(t).getDescriptor)
578
578
579
579
/*
580
580
* Tracks (if needed) the inner class given by `sym`.
581
581
*
582
582
* must-single-thread
583
583
*/
584
- final def descriptor (sym : Symbol ): String = { asmClassType(sym).getDescriptor }
584
+ final def descriptor (sym : Symbol )( implicit ctx : core. Contexts . Context ) : String = ( asmClassType(sym).getDescriptor)
585
585
586
586
} // end of trait BCInnerClassGen
587
587
You can’t perform that action at this time.
0 commit comments