Skip to content

Commit 7f23338

Browse files
committed
Update comment
1 parent 33b7aa8 commit 7f23338

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

compiler/src/dotty/tools/backend/jvm/BCodeHelpers.scala

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -531,9 +531,9 @@ trait BCodeHelpers extends BCodeIdiomatic with BytecodeWriters {
531531
emitAnnotations(mirrorMethod, others)
532532
val params: List[Symbol] = Nil // backend uses this to emit annotations on parameter lists of forwarders
533533
// to static methods of companion class
534-
// in Dotty this link does not exists: there is no way to get from method type
534+
// Old assumption: in Dotty this link does not exists: there is no way to get from method type
535535
// to inner symbols of DefDef
536-
// todo: somehow handle.
536+
// TODO: now we have paramSymss and could use it here.
537537
emitParamAnnotations(mirrorMethod, params.map(_.annotations))
538538

539539
mirrorMethod.visitCode()

0 commit comments

Comments
 (0)